summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Bachmann <bachmann@tofwerk.com>2012-04-17 16:35:16 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-17 16:44:19 +0200
commite5ece0d8eebf2f908b952141130664d3a6430f67 (patch)
treee4b2d247ae24d00a97b0a4f51f7aca432923e30f
parent2f41adabc5a12fcca1de5b6c296c2206b518abff (diff)
Add apr-package
Signed-off-by: Rico Bachmann <bachmann@tofwerk.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/apr/Config.in8
-rw-r--r--package/apr/apr.mk18
3 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 567fbedf4..5ae1c810d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -374,6 +374,7 @@ source "package/zeromq/Config.in"
endmenu
menu "Other"
+source "package/apr/Config.in"
source "package/fftw/Config.in"
source "package/libargtable2/Config.in"
source "package/argp-standalone/Config.in"
diff --git a/package/apr/Config.in b/package/apr/Config.in
new file mode 100644
index 000000000..292cadb67
--- /dev/null
+++ b/package/apr/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_APR
+ bool "apr"
+ help
+ The mission of the Apache Portable Runtime (APR) project is to create
+ and maintain software libraries that provide a predictable and
+ consistent interface to underlying platform-specific implementations
+
+ http://apr.apache.org/
diff --git a/package/apr/apr.mk b/package/apr/apr.mk
new file mode 100644
index 000000000..31589133a
--- /dev/null
+++ b/package/apr/apr.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# apr
+#
+#############################################################
+APR_VERSION = 1.4.6
+APR_SITE = http://archive.apache.org/dist/apr
+APR_INSTALL_STAGING = YES
+APR_CONF_ENV = \
+ ac_cv_file__dev_zero=yes \
+ ac_cv_func_setpgrp_void=yes \
+ apr_cv_process_shared_works=yes \
+ apr_cv_mutex_robust_shared=no \
+ apr_cv_tcp_nodelay_with_cork=yes \
+ ac_cv_sizeof_struct_iovec=8 \
+ apr_cv_mutex_recursive=yes
+
+$(eval $(call AUTOTARGETS))