diff --git a/common/shlibs b/common/shlibs index 951336217bd..7baca608c4d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1397,3 +1397,4 @@ libphorward.so.0 libphorward-0.17_1 libusbip.so.0 libusbip-3.10_1 libcpupower.so.0 libcpupower-3.10_1 librsync.so.1 librsync-0.9.7_1 +libserf.so.3 serf-1.3.1_1 diff --git a/srcpkgs/serf-devel b/srcpkgs/serf-devel new file mode 120000 index 00000000000..01cd845a42a --- /dev/null +++ b/srcpkgs/serf-devel @@ -0,0 +1 @@ +serf \ No newline at end of file diff --git a/srcpkgs/serf/template b/srcpkgs/serf/template new file mode 100644 index 00000000000..67c187ce52a --- /dev/null +++ b/srcpkgs/serf/template @@ -0,0 +1,38 @@ +# 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 " +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 + } +}