apr: update to 1.5.0.
This commit is contained in:
parent
4e88fd96fd
commit
71a08589c5
|
@ -1,30 +1,26 @@
|
||||||
# Template file for 'apr'
|
# Template file for 'apr'
|
||||||
pkgname=apr
|
pkgname=apr
|
||||||
version=1.4.8
|
version=1.5.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-devrandom=/dev/urandom --with-installbuilddir=/usr/share/apr-1/build
|
configure_args="--with-devrandom=/dev/urandom --with-installbuilddir=/usr/share/apr-1/build"
|
||||||
ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_tcp_nodelay_with_cork=yes"
|
|
||||||
makedepends="libuuid-devel"
|
makedepends="libuuid-devel"
|
||||||
short_desc="Apache Portable Runtime Library"
|
short_desc="Apache Portable Runtime Library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://apr.apache.org/"
|
homepage="http://apr.apache.org/"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
distfiles="http://www.apache.org/dist/apr/apr-$version.tar.bz2"
|
distfiles="http://www.apache.org/dist/apr/apr-$version.tar.bz2"
|
||||||
checksum=61b8d2f8d321c6365ee3d71d0bb41f3a89c44da6124cc5b407a3b8319d660421
|
checksum=17287d36a5917e27281e60d47e7b147bd5ddcd1ca832702c2318f5e0724f1221
|
||||||
long_desc="
|
|
||||||
APR is Apache's Portable Runtime Library, designed to be a support library
|
|
||||||
that provides a predictable and consistent interface to underlying
|
|
||||||
platform-specific implementations."
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
|
pre_build() {
|
||||||
configure_args+=" ac_cv_sizeof_struct_iovec=8"
|
if [ "$CROSS_BUILD" ]; then
|
||||||
else
|
make tools/gen_test_char
|
||||||
configure_args+=" ac_cv_sizeof_struct_iovec=16"
|
${BUILD_CC} ${BUILD_CFLAGS} tools/gen_test_char.c -o tools/gen_test_char
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
apr-devel_package() {
|
apr-devel_package() {
|
||||||
depends="libuuid-devel apr>=${version}"
|
depends="libuuid-devel apr>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Reference in New Issue