From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 2/4] Add libaprutil. Date: Fri, 25 Jan 2013 20:42:50 +0100 Message-ID: <1359142972-32585-3-git-send-email-tipecaml@gmail.com> References: <1359142972-32585-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TypLJ-0002So-HN for bug-guix@gnu.org; Fri, 25 Jan 2013 14:53:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TypLH-00042l-Gs for bug-guix@gnu.org; Fri, 25 Jan 2013 14:53:41 -0500 Received: from mail-wi0-f178.google.com ([209.85.212.178]:38683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TypLH-00042T-Bw for bug-guix@gnu.org; Fri, 25 Jan 2013 14:53:39 -0500 Received: by mail-wi0-f178.google.com with SMTP id hn3so623376wib.11 for ; Fri, 25 Jan 2013 11:53:38 -0800 (PST) In-Reply-To: <1359142972-32585-1-git-send-email-tipecaml@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org * gnu/packages/libapr: new variable. --- gnu/packages/libapr.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/libapr.scm b/gnu/packages/libapr.scm index 36f0e1e..b342e77 100644 --- a/gnu/packages/libapr.scm +++ b/gnu/packages/libapr.scm @@ -56,3 +56,36 @@ not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.") (license asl2.0))) + +(define-public libaprutil + (package + (name "libaprutil") + (version "1.5.1") + (source (origin + (method url-fetch) + (uri (string-append "http://apache.crihan.fr/dist//apr/apr-util-" + version ".tar.bz2")) + (sha256 + (base32 + "0832cb90zd7zqhhdx0v3i8viw1rmn0d945qbk1zid3cnky9r0s19")))) + (build-system gnu-build-system) + (inputs + `(("libapr" ,libapr))) + (arguments + '(#:phases + (alist-replace + 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (libapr (assoc-ref inputs "libapr"))) + (setenv "CONFIG_SHELL" (which "bash")) + (zero? + (system* "./configure" + (string-append "--prefix=" out) + (string-append "--with-apr=" libapr))))) + %standard-phases))) + (home-page "http://apr.apache.org/") + (synopsis "One of the Apache Portable Runtime Library companions") + (description + "APR-util provides a number of helpful abstractions on top of APR.") + (license asl2.0))) -- 1.7.10.4