void-packages/srcpkgs/serf/template
2014-06-12 09:43:26 +02:00

32 lines
823 B
Text

# Template file for 'serf'
pkgname=serf
version=1.3.6
revision=2
hostmakedepends="unzip scons>=2.3.0"
makedepends="gdbm-devel 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/svn/src_releases/${pkgname}-${version}.zip"
checksum=23168cd7eec5162300fdf87d8e26250b4555aaa06fe08da3ac80fe39286fc6e3
do_build() {
scons ${makejobs} CFLAGS="$CFLAGS" 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"
}
}