Rebased patch 0001 and changed _SOURCE to .tar.bz2.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
# get substituted into some targets
APR_MAJOR_VERSION=@APR_MAJOR_VERSION@
-@@ -134,8 +136,13 @@
+@@ -134,8 +134,13 @@
+ $(APR_MKDIR) tools
+ $(LT_COMPILE)
- OBJECTS_gen_test_char = tools/gen_test_char.lo $(LOCAL_LIBS)
- tools/gen_test_char.lo: make_tools_dir
+ifdef CC_FOR_BUILD
+tools/gen_test_char@EXEEXT@: tools/gen_test_char.c $(LOCAL_LIBS)
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE -o $@ $<
-# From http://archive.apache.org/dist/apr/apr-1.5.1.tar.gz.sha1
-sha1 9caa83e3f50f3abc9fab7c4a3f2739a12b14c3a3 apr-1.5.1.tar.gz
+# From http://archive.apache.org/dist/apr/apr-1.5.2.tar.bz2.sha1
+sha1 6d757fcf7c687fc300c1066076f2e8380ff8cbc0 apr-1.5.2.tar.bz2
#
################################################################################
-APR_VERSION = 1.5.1
+APR_VERSION = 1.5.2
+APR_SOURCE = apr-$(APR_VERSION).tar.bz2
APR_SITE = http://archive.apache.org/dist/apr
APR_LICENSE = Apache-2.0
APR_LICENSE_FILES = LICENSE