2016-02-24 01:27:23 +01:00
|
|
|
# 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
|
2016-07-24 04:34:42 +02:00
|
|
|
source=(https://archive.apache.org/dist/$name/$name-$version.tar.bz2)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
}
|