]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
apr-util: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 7 Jan 2012 19:58:46 +0000 (20:58 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 7 Jan 2012 19:58:46 +0000 (20:58 +0100)
apr-util/apr-util.nm [new file with mode: 0644]

diff --git a/apr-util/apr-util.nm b/apr-util/apr-util.nm
new file mode 100644 (file)
index 0000000..3dc8a6b
--- /dev/null
@@ -0,0 +1,71 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+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