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

diff --git a/libapr/libapr.nm b/libapr/libapr.nm
new file mode 100644 (file)
index 0000000..eb81210
--- /dev/null
@@ -0,0 +1,48 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = libapr
+version    = 1.4.5
+release    = 1
+thisapp    = apr-%{version}
+
+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
+               libuuid-devel
+       end
+
+       configure_options += \
+               --with-devrandom=/dev/urandom
+
+       install_cmds
+               # Remove unneded file.
+               rm -rvf %{BUILDROOT}/usr/lib/apr.exp
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-devel
+               template DEVEL
+
+               files += \
+                       /usr/bin \
+                       /usr/share
+       end
+end