Added apr-1.4.2 build template.

--HG--
extra : convert_revision : 5c1c0cd09a56162e8d4bb5e2bf1c926cd424ccec
This commit is contained in:
Juan RP 2010-04-30 01:26:15 +02:00
parent 2f3a2b0ac5
commit 01cecbdd7b
5 changed files with 42 additions and 0 deletions

1
srcpkgs/apr-devel Symbolic link
View file

@ -0,0 +1 @@
apr

View file

@ -0,0 +1,18 @@
# Template file for 'apr-devel'.
#
short_desc="${short_desc} - development files"
long_desc="
${long_desc}
This packages contains files for development, static files, headers, etc."
Add_dependency run libuuid-devel
Add_dependency run apr
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.{a,exp} ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/{include,bin,share} ${DESTDIR}/usr
}

2
srcpkgs/apr/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.4.2"
api_depends="${abi_depends}"

20
srcpkgs/apr/template Normal file
View file

@ -0,0 +1,20 @@
# Template file for 'apr'
pkgname=apr
version=1.4.2
distfiles="http://www.apache.org/dist/apr/apr-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--with-devrandom=/dev/urandom
--with-installbuilddir=/usr/share/apr-1/build"
short_desc="Apache Portable Runtime Library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391
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."
subpackages="apr-devel"
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency build libuuid-devel

View file

@ -627,3 +627,4 @@ libLLVM-2.7.so llvm llvm-devel
libLLVMHello.so llvm llvm-devel
libLTO.so llvm llvm-devel
libprofile_rt.so llvm llvm-devel
libapr-1.so apr apr-devel