2010-04-30 01:26:15 +02:00
|
|
|
# Template file for 'apr'
|
|
|
|
pkgname=apr
|
2013-07-19 08:40:10 +02:00
|
|
|
version=1.4.8
|
2013-04-12 08:55:23 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-07-19 09:07:28 +02:00
|
|
|
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"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="libuuid-devel"
|
2010-04-30 01:26:15 +02:00
|
|
|
short_desc="Apache Portable Runtime Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-20 12:05:32 +01:00
|
|
|
homepage="http://apr.apache.org/"
|
2011-07-04 12:11:44 +02:00
|
|
|
license="Apache-2.0"
|
2013-04-12 08:55:23 +02:00
|
|
|
distfiles="http://www.apache.org/dist/apr/apr-$version.tar.bz2"
|
2013-07-19 08:40:10 +02:00
|
|
|
checksum=61b8d2f8d321c6365ee3d71d0bb41f3a89c44da6124cc5b407a3b8319d660421
|
2010-04-30 01:26:15 +02:00
|
|
|
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."
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
apr-devel_package() {
|
|
|
|
depends="libuuid-devel apr>=${version}"
|
2013-07-19 08:40:10 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
2013-04-19 08:20:17 +02:00
|
|
|
vmove "usr/lib/*.a"
|
2013-07-19 08:40:10 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-19 08:20:17 +02:00
|
|
|
vmove "usr/lib/*.exp"
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
2010-04-30 01:26:15 +02:00
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
apr_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|