void-packages/srcpkgs/serf/template

33 lines
849 B
Plaintext
Raw Normal View History

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