void-packages/srcpkgs/apr/template
2013-04-23 16:28:20 +04:00

36 lines
994 B
Text

# Template file for 'apr'
pkgname=apr
version=1.4.6
revision=1
build_style=gnu-configure
configure_args="--with-devrandom=/dev/urandom --with-installbuilddir=/usr/share/apr-1/build"
makedepends="libuuid-devel"
short_desc="Apache Portable Runtime Library"
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=9b635e60feb163e6fc6c375721f71f44d7e26d6b9cd52f6b86b04e65d2481cbc
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."
apr-devel_package() {
depends="libuuid-devel apr>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/bin
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.exp"
vmove usr/lib/pkgconfig
}
}
apr_package() {
pkg_install() {
vmove usr
}
}