39 lines
816 B
Plaintext
39 lines
816 B
Plaintext
# Template file for 'serf'
|
|
pkgname=serf
|
|
version=1.3.1
|
|
revision=1
|
|
hostmakedepends="scons>=2.3.0"
|
|
makedepends="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/"
|
|
distfiles="http://serf.googlecode.com/files/serf-${version}.tar.bz2"
|
|
checksum=fc785d0df9c0f4debadae19a3549542d173ca62a1f3f36668b3b1251209f5d9a
|
|
|
|
do_build() {
|
|
scons 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"
|
|
}
|
|
}
|
|
|
|
serf_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|