opt/serf/Pkgfile
Jose V Beneyto 31ed6677d8 [notify] serf: updated to 1.3.8
Added new dependency: scons
2014-12-16 09:26:09 +00:00

24 lines
765 B
Plaintext

# Description: High performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.
# URL: https://code.google.com/p/serf/
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: apr scons
name=serf
version=1.3.8
release=1
source=(https://serf.googlecode.com/svn/src_releases/$name-$version.tar.bz2)
build() {
cd $name-$version
# removes runtime path from shared library
sed '/Append/ s/RPATH=libdir,//' -i SConstruct
# disable building and installing of the static library
sed '/Default/ s/lib_static,//' -i SConstruct
sed '/Alias/ s/install_static,//' -i SConstruct
scons PREFIX=/usr LIBDIR=/usr/lib
scons install --install-sandbox=$PKG
}