From: Stefan Schantl Date: Sat, 7 Jan 2012 19:58:46 +0000 (+0100) Subject: apr-util: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a04b5b0cdcde9f882c97b394a8d00d96b0aaa9cd;p=ipfire-3.x.git apr-util: New package. --- diff --git a/apr-util/apr-util.nm b/apr-util/apr-util.nm new file mode 100644 index 000000000..3dc8a6be4 --- /dev/null +++ b/apr-util/apr-util.nm @@ -0,0 +1,71 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = apr-util +version = 1.4.1 +release = 1 + +groups = System/Libraries +url = ttp://apr.apache.org/ +license = ASL 2.0 +summary = Apache Portable Runtime library. + +description + The mission of the Apache Portable Runtime (APR) is to provide a + free library of C data structures and routines, forming a system + portability layer to as many operating systems as possible. +end + +source_dl = http://www.apache.org/dist/apr/ + +build + requires + autoconf + db4-devel + expat-devel + libapr-devel + libuuid-devel + nss-devel + openssl-devel + end + + configure_options += \ + --with-apr=/usr \ + --with-berkeley-db \ + --with-crypto \ + --with-openssl \ + --with-nss + + install_cmds + # Remove unneeded file. + rm -rvf %{BUILDROOT}/usr/lib/aprutil.exp + end +end + +packages + package %{name} + + package %{name}-nss + summary = APR utility library NSS crytpo support. + description = %{summary} + + requires = apr-util=%{thisver} + + files = /usr/lib/apr-util*/apr_crypto_nss* + end + + package %{name}-openssl + summary = APR utility library OpenSSL crytpo support. + description = %{summary} + + requires = apr-util=%{thisver} + + files = /usr/lib/apr-util*/apr_crypto_openssl* + end + + package %{name}-devel + template DEVEL + end +end