32 lines
924 B
Text
32 lines
924 B
Text
# Template file for 'serf'
|
|
pkgname=serf
|
|
version=1.3.8
|
|
revision=2
|
|
hostmakedepends="unzip scons>=2.3.0"
|
|
makedepends="zlib-devel gdbm-devel libressl-devel>=2.1.2 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/"
|
|
update_site="http://serf.googlecode.com/svn/src_releases/"
|
|
distfiles="http://serf.googlecode.com/svn/src_releases/${pkgname}-${version}.zip"
|
|
checksum=d202c064e05c5483c4a81c6519a8a95137c65f10177b83cec9db885b88f4c690
|
|
|
|
do_build() {
|
|
scons ${makejobs} CC="$CC" 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"
|
|
}
|
|
}
|