# Template file for 'serf' pkgname=serf version=1.3.6 revision=3 hostmakedepends="unzip scons>=2.3.0" makedepends="zlib-devel gdbm-devel libressl-devel apr-util-devel" short_desc="High-performance asynchronous HTTP client library" maintainer="Juan RP " license="Apache-2.0" homepage="http://code.google.com/p/serf/" distfiles="http://serf.googlecode.com/svn/src_releases/${pkgname}-${version}.zip" checksum=23168cd7eec5162300fdf87d8e26250b4555aaa06fe08da3ac80fe39286fc6e3 do_build() { scons ${makejobs} 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" } }