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.