New package: serf-1.3.1.

This commit is contained in:
Juan RP 2013-08-17 10:51:41 +02:00
parent 53416168b9
commit 7345903c58
3 changed files with 40 additions and 0 deletions

View file

@ -1397,3 +1397,4 @@ libphorward.so.0 libphorward-0.17_1
libusbip.so.0 libusbip-3.10_1
libcpupower.so.0 libcpupower-3.10_1
librsync.so.1 librsync-0.9.7_1
libserf.so.3 serf-1.3.1_1

1
srcpkgs/serf-devel Symbolic link
View file

@ -0,0 +1 @@
serf

38
srcpkgs/serf/template Normal file
View file

@ -0,0 +1,38 @@
# Template file for 'serf'
pkgname=serf
version=1.3.1
revision=1
hostmakedepends="scons>=2.3.0"
makedepends="apr-util-devel"
short_desc="High-performance asynchronous HTTP client library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Apache-2.0"
homepage="http://code.google.com/p/serf/"
distfiles="http://serf.googlecode.com/files/serf-${version}.tar.bz2"
checksum=fc785d0df9c0f4debadae19a3549542d173ca62a1f3f36668b3b1251209f5d9a
do_build() {
scons PREFIX=/usr
}
do_install() {
vmkdir usr
scons PREFIX=${DESTDIR}/usr install
}
serf-devel_package() {
depends="apr-util-devel serf-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}
serf_package() {
pkg_install() {
vmove usr
}
}