From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kete Subject: sbcl package definition Date: Sun, 06 Oct 2013 01:23:25 -0400 Message-ID: <5250F3CD.90805@ninthfloor.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------070204010704010307080608" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSgoX-0006bb-3c for guix-devel@gnu.org; Sun, 06 Oct 2013 01:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSgoQ-0004Qi-N1 for guix-devel@gnu.org; Sun, 06 Oct 2013 01:23:33 -0400 Received: from ninthfloor.org ([109.74.194.224]:33712 helo=mail.ninthfloor.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSgoQ-0004Qd-HB for guix-devel@gnu.org; Sun, 06 Oct 2013 01:23:26 -0400 Received: from [192.168.1.100] (r75-110-74-209.gvllcmtc01.gnvlnc.ab.dh.suddenlink.net [75.110.74.209]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kete) by mail.ninthfloor.org (Postfix) with ESMTPSA id CC5391C126 for ; Sun, 6 Oct 2013 05:23:25 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------070204010704010307080608 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Instead of ./configure, make and make install, sbcl uses a command like this: INSTALL_ROOT=/home/me sh install.sh How would the build-system and inputs go? --------------070204010704010307080608 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Instead of ./configure, make and make install, sbcl uses a command like this: INSTALL_ROOT=/home/me sh install.sh

How would the build-system and inputs go?
--------------070204010704010307080608-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: sbcl package definition Date: Sun, 06 Oct 2013 21:28:43 +0200 Message-ID: <5251B9EB.9040206@gmail.com> References: <5250F3CD.90805@ninthfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSuNP-0005Sj-JM for guix-devel@gnu.org; Sun, 06 Oct 2013 15:52:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSuNJ-0001Pr-Pj for guix-devel@gnu.org; Sun, 06 Oct 2013 15:52:27 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:51468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSuNJ-0001Pi-Id for guix-devel@gnu.org; Sun, 06 Oct 2013 15:52:21 -0400 Received: by mail-wg0-f50.google.com with SMTP id f12so6345942wgh.29 for ; Sun, 06 Oct 2013 12:52:20 -0700 (PDT) In-Reply-To: <5250F3CD.90805@ninthfloor.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Kete Cc: guix-devel@gnu.org On 10/06/2013 07:23 AM, Kete wrote: > Instead of ./configure, make and make install, sbcl uses a command like > this: INSTALL_ROOT=/home/me sh install.sh > > How would the build-system and inputs go? > I think you should use the trivial build system, and define a builder in the arguments: (arguments '(#:builder (...))) See gnu/packages/autotools.scm, for instance. Cyril. From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: sbcl package definition Date: Sun, 06 Oct 2013 21:54:39 +0200 Message-ID: <87eh7yp43k.fsf@gnu.org> References: <5250F3CD.90805@ninthfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSuUW-0006qv-Gu for guix-devel@gnu.org; Sun, 06 Oct 2013 15:59:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSuUQ-00030M-Fs for guix-devel@gnu.org; Sun, 06 Oct 2013 15:59:47 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:57263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSuUQ-00030G-9N for guix-devel@gnu.org; Sun, 06 Oct 2013 15:59:42 -0400 In-Reply-To: <5250F3CD.90805@ninthfloor.org> (kete@ninthfloor.org's message of "Sun, 06 Oct 2013 01:23:25 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Kete Cc: guix-devel@gnu.org Hi, Kete skribis: > Instead of ./configure, make and make install, sbcl uses a command > like this: INSTALL_ROOT=3D/home/me sh install.sh > > How would the build-system and inputs go? In general, when that happens, we still use =E2=80=98gnu-build-system=E2=80= =99 but customize/remove some of the phases. An example of that is =E2=80=98net-tools=E2=80=99 in linux.scm: it has no .= /configure script, and has specific makefile targets. For SBCL, you would probably remove the =E2=80=98configure=E2=80=99 phase, = perhaps the =E2=80=98build=E2=80=99 phase too, and replace the =E2=80=98install=E2=80= =99 phase: (alist-replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (setenv "INSTALL_ROOT" out) (zero? (system* "sh" "install.sh")))) (alist-delete 'configure %standard-phases)) HTH, Ludo=E2=80=99. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: sbcl package definition Date: Sun, 06 Oct 2013 21:50:22 +0200 Message-ID: <5251BEFE.2050000@gmail.com> References: <5250F3CD.90805@ninthfloor.org> <5251B9EB.9040206@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSuiM-0000e3-00 for guix-devel@gnu.org; Sun, 06 Oct 2013 16:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSuiF-00071Z-Ge for guix-devel@gnu.org; Sun, 06 Oct 2013 16:14:05 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:44362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSuiF-00071L-9v for guix-devel@gnu.org; Sun, 06 Oct 2013 16:13:59 -0400 Received: by mail-we0-f173.google.com with SMTP id u57so5097528wes.4 for ; Sun, 06 Oct 2013 13:13:58 -0700 (PDT) In-Reply-To: <5251B9EB.9040206@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Kete Cc: guix-devel@gnu.org On 10/06/2013 09:28 PM, Cyril Roelandt wrote: > On 10/06/2013 07:23 AM, Kete wrote: >> Instead of ./configure, make and make install, sbcl uses a command like >> this: INSTALL_ROOT=/home/me sh install.sh >> >> How would the build-system and inputs go? >> > > I think you should use the trivial build system, and define a builder in > the arguments: > Forget it and see Ludovic's answer :) Cyril. From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: sbcl package definition Date: Sun, 06 Oct 2013 22:42:34 +0200 Message-ID: <877gdqp1vp.fsf@gnu.org> References: <5250F3CD.90805@ninthfloor.org> <5251B9EB.9040206@gmail.com> <5251BEFE.2050000@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSvEu-0005WD-VH for guix-devel@gnu.org; Sun, 06 Oct 2013 16:47:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSvEo-0007ZA-Qq for guix-devel@gnu.org; Sun, 06 Oct 2013 16:47:44 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:57304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSvEo-0007Z4-Kb for guix-devel@gnu.org; Sun, 06 Oct 2013 16:47:38 -0400 In-Reply-To: <5251BEFE.2050000@gmail.com> (Cyril Roelandt's message of "Sun, 06 Oct 2013 21:50:22 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Cyril Roelandt Cc: guix-devel@gnu.org Cyril Roelandt skribis: > On 10/06/2013 09:28 PM, Cyril Roelandt wrote: >> On 10/06/2013 07:23 AM, Kete wrote: >>> Instead of ./configure, make and make install, sbcl uses a command like >>> this: INSTALL_ROOT=3D/home/me sh install.sh >>> >>> How would the build-system and inputs go? >>> >> >> I think you should use the trivial build system, and define a builder in >> the arguments: >> > > Forget it and see Ludovic's answer :) In short =E2=80=98trivial-build-system=E2=80=99 is really too trivial: it d= oesn=E2=80=99t have the notion of phases, doesn=E2=80=99t unpack the source tarball, etc. Ludo=E2=80=99.