void-packages/srcpkgs/serf/template

33 lines
823 B
Text
Raw Normal View History

2013-08-17 08:51:41 +00:00
# Template file for 'serf'
pkgname=serf
2014-06-12 07:32:27 +00:00
version=1.3.6
2014-06-12 07:43:26 +00:00
revision=2
2014-06-12 07:32:27 +00:00
hostmakedepends="unzip scons>=2.3.0"
makedepends="gdbm-devel apr-util-devel"
2013-08-17 08:51:41 +00:00
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/"
2014-06-12 07:32:27 +00:00
distfiles="http://serf.googlecode.com/svn/src_releases/${pkgname}-${version}.zip"
checksum=23168cd7eec5162300fdf87d8e26250b4555aaa06fe08da3ac80fe39286fc6e3
2013-08-17 08:51:41 +00:00
do_build() {
2014-06-12 07:43:26 +00:00
scons ${makejobs} CFLAGS="$CFLAGS" PREFIX=/usr
2013-08-17 08:51:41 +00:00
}
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"
}
}