23 lines
564 B
Plaintext
23 lines
564 B
Plaintext
# URL: https://code.google.com/p/serf/
|
|
# Packager: berlius at nutyx dot com
|
|
# Depends on: apr-util openssl scons kerberos
|
|
|
|
description="C-based HTTP client library built upon the Apache Portable Runtime (APR) library."
|
|
name=serf
|
|
version=1.3.8
|
|
release=1
|
|
source=(http://serf.googlecode.com/svn/src_releases/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
sed -i "/Append/s:RPATH=libdir,::" SConstruct
|
|
sed -i "/Default/s:lib_static,::" SConstruct
|
|
sed -i "/Alias/s:install_static,::" SConstruct
|
|
scons PREFIX=/usr
|
|
|
|
scons PREFIX=$PKG/usr install
|
|
|
|
}
|