summaryrefslogtreecommitdiff
path: root/serf/Pkgfile
blob: ea41eb9cfd4f5b2cac00fbbb6afa074bba288696 (plain)
    1 # Description: High performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.
    2 # URL: https://code.google.com/p/serf/
    3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
    4 # Packager: Jose V Beneyto, sepen at crux dot nu
    5 # Depends on: apr scons
    6 
    7 name=serf
    8 version=1.3.8
    9 release=1
   10 source=(https://serf.googlecode.com/svn/src_releases/$name-$version.tar.bz2)
   11 
   12 build() {
   13     cd $name-$version
   14 
   15     # removes runtime path from shared library
   16     sed '/Append/ s/RPATH=libdir,//' -i SConstruct
   17     # disable building and installing of the static library
   18     sed '/Default/ s/lib_static,//' -i SConstruct
   19     sed '/Alias/ s/install_static,//' -i SConstruct
   20 
   21     scons PREFIX=/usr LIBDIR=/usr/lib
   22     scons install --install-sandbox=$PKG
   23 }

Generated by cgit