From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add openttd Date: Tue, 12 Apr 2016 14:24:58 -0400 Message-ID: <20160412182458.GB3241@jasmine> References: <570C2836.7030100@fripost.org> <20160412010929.GA22784@jasmine> <570D0C58.5050905@fripost.org> <87d1puivr2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq2zQ-0003BG-6m for guix-devel@gnu.org; Tue, 12 Apr 2016 14:24:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq2zN-0006Vc-1T for guix-devel@gnu.org; Tue, 12 Apr 2016 14:24:40 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq2zM-0006VY-U5 for guix-devel@gnu.org; Tue, 12 Apr 2016 14:24:36 -0400 Content-Disposition: inline In-Reply-To: <87d1puivr2.fsf@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" To: Alex Kost Cc: guix-devel@gnu.org On Tue, Apr 12, 2016 at 08:26:25PM +0300, Alex Kost wrote: > Here it is (don't forget to uncomment "lzo" input): > > (lambda* (#:key inputs outputs #:allow-other-keys) > (let ((out (assoc-ref outputs "out")) > (lzo (assoc-ref inputs "lzo"))) > (zero? > (system* "./configure" > (string-append "--prefix=" out) > (string-append "--with-liblzo2=" > lzo "/lib/liblzo2.a") > ;; Put the binary in `bin' instead of `games'. > "--binary-dir=bin")))) I replied before seeing this message from Alex. He has provided a more complete answer to this question, so please ignore mine :)