void-packages/srcpkgs/serf/template

33 lines
908 B
Plaintext
Raw Normal View History

2013-08-17 10:51:41 +02:00
# Template file for 'serf'
pkgname=serf
2014-08-16 18:00:04 +02:00
version=1.3.7
revision=1
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-11-03 15:51:42 +01:00
update_site="http://serf.googlecode.com/svn/src_releases/"
2014-06-12 09:32:27 +02:00
distfiles="http://serf.googlecode.com/svn/src_releases/${pkgname}-${version}.zip"
2014-08-16 18:00:04 +02:00
checksum=1f15f212660ec1c8f00096650979c14deef3a4a4d4290f6da173ec6c767cbd01
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() {
2014-08-16 18:00:04 +02:00
depends="apr-util-devel serf>=${version}_${revision}"
2013-08-17 10:51:41 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}