From: Cyril Roelandt <tipecaml@gmail.com>
To: bug-guix@gnu.org
Subject: [PATCH 2/4] Add libaprutil.
Date: Fri, 25 Jan 2013 20:42:50 +0100 [thread overview]
Message-ID: <1359142972-32585-3-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1359142972-32585-1-git-send-email-tipecaml@gmail.com>
* 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
next prev parent reply other threads:[~2013-01-25 19:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-25 19:42 [PATCH 0/4] Add Subversion Cyril Roelandt
2013-01-25 19:42 ` [PATCH 1/4] Add lipabr Cyril Roelandt
2013-01-25 20:19 ` Ludovic Courtès
2013-01-25 19:42 ` Cyril Roelandt [this message]
2013-07-18 19:34 ` [PATCH 2/4] Add libaprutil Andreas Enge
2013-07-18 22:01 ` Ludovic Courtès
2013-08-05 13:33 ` Andreas Enge
2013-01-25 19:42 ` [PATCH 3/4] Add SQLite Cyril Roelandt
2013-01-25 20:38 ` Ludovic Courtès
2013-01-26 20:01 ` Cyril Roelandt
2013-01-26 21:14 ` Ludovic Courtès
2013-01-25 19:42 ` [PATCH 4/4] Add Subversion Cyril Roelandt
2013-01-25 20:54 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1359142972-32585-3-git-send-email-tipecaml@gmail.com \
--to=tipecaml@gmail.com \
--cc=bug-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.