summaryrefslogtreecommitdiff
path: root/serf/Pkgfile
blob: 54479edbcaf77eca88738f77a0ee8ff71d494bdd (plain)
    1 # Description: High performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.
    2 # URL: https://serf.apache.org/
    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.9
    9 release=1
   10 source=(https://archive.apache.org/dist/$name/$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 
   24     # serf-1.3.9 do not install world writable files
   25     chmod -cR go-w $PKG/usr/include/serf-1
   26 }

Generated by cgit