apr: update to 1.5.1; use native libtool.

This commit is contained in:
Christian Neukirchen 2014-08-25 17:32:55 +02:00
parent afbc994f6d
commit daad2f509a
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'apr'
pkgname=apr
version=1.5.0
version=1.5.1
revision=1
build_style=gnu-configure
configure_args="--with-devrandom=/dev/urandom --with-installbuilddir=/usr/share/apr-1/build"
@ -10,17 +10,16 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://apr.apache.org/"
license="Apache-2.0"
distfiles="http://www.apache.org/dist/apr/apr-$version.tar.bz2"
checksum=17287d36a5917e27281e60d47e7b147bd5ddcd1ca832702c2318f5e0724f1221
checksum=e94abe431d4da48425fcccdb27b469bd0f8151488f82e5630a56f26590e198ac
pre_build() {
if [ "$CROSS_BUILD" ]; then
make tools/gen_test_char
${BUILD_CC} ${BUILD_CFLAGS} tools/gen_test_char.c -o tools/gen_test_char
sed -i "/LINK_PROG.*OBJECTS_gen_test_char/s|.*|\t${BUILD_CC} ${BUILD_CFLAGS} tools/gen_test_char.c -o tools/gen_test_char|" Makefile
fi
}
apr-devel_package() {
depends="libuuid-devel apr>=${version}_${revision}"
depends="libtool libuuid-devel apr>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
@ -30,5 +29,6 @@ apr-devel_package() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.exp"
vmove usr/lib/pkgconfig
ln -sf /usr/bin/libtool ${PKGDESTDIR}/usr/share/apr-1/build/libtool
}
}