2013-08-17 08:51:41 +00:00
|
|
|
# Template file for 'serf'
|
|
|
|
pkgname=serf
|
2014-12-04 07:17:35 +00:00
|
|
|
version=1.3.8
|
2015-01-22 11:09:32 +00:00
|
|
|
revision=3
|
2014-06-12 07:32:27 +00:00
|
|
|
hostmakedepends="unzip scons>=2.3.0"
|
2015-01-22 11:09:32 +00:00
|
|
|
makedepends="zlib-devel gdbm-devel libressl-devel>=2.1.3 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"
|
2014-12-04 07:17:35 +00:00
|
|
|
checksum=d202c064e05c5483c4a81c6519a8a95137c65f10177b83cec9db885b88f4c690
|
2013-08-17 08:51:41 +00:00
|
|
|
|
|
|
|
do_build() {
|
2014-12-04 07:17:35 +00:00
|
|
|
scons ${makejobs} CC="$CC" CFLAGS="$CFLAGS" PREFIX=/usr
|
2013-08-17 08:51:41 +00:00
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr
|
|
|
|
scons PREFIX=${DESTDIR}/usr install
|
|
|
|
}
|
|
|
|
|
|
|
|
serf-devel_package() {
|
2014-08-16 16:00:04 +00:00
|
|
|
depends="apr-util-devel serf>=${version}_${revision}"
|
2013-08-17 08:51:41 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|