1
0
forked from ports/contrib

serf: opt -> contrib

This commit is contained in:
Danny Rawlins 2019-08-07 20:50:34 +10:00
parent e85b94e068
commit 761f158738
3 changed files with 43 additions and 0 deletions

12
serf/.footprint Normal file
View File

@ -0,0 +1,12 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/serf-1/
-rw-r--r-- root/root usr/include/serf-1/serf.h
-rw-r--r-- root/root usr/include/serf-1/serf_bucket_types.h
-rw-r--r-- root/root usr/include/serf-1/serf_bucket_util.h
drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libserf-1.so -> libserf-1.so.1.3.0
lrwxrwxrwx root/root usr/lib/libserf-1.so.1 -> libserf-1.so.1.3.0
-rwxr-xr-x root/root usr/lib/libserf-1.so.1.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/serf-1.pc

5
serf/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+6p8VoXIClF7qHZV+YoafhLVmttQXLLV6SfF/gmlFqVYzzE6csHprk8IiyEHQ0uU8eDUeVJpNhRq4bPuUnxxwI=
SHA256 (Pkgfile) = dafbcef9ebe6d08519bf3cc0db47cc728e15119d1283b31779a35cee2e205393
SHA256 (.footprint) = e226405dcc3a029e645718b827ec06544ae6757ad6c6c881e381acb2868a0ac4
SHA256 (serf-1.3.9.tar.bz2) = 549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc

26
serf/Pkgfile Normal file
View File

@ -0,0 +1,26 @@
# Description: High performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.
# URL: https://serf.apache.org/
# 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.9
release=1
source=(https://archive.apache.org/dist/$name/$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
# serf-1.3.9 do not install world writable files
chmod -cR go-w $PKG/usr/include/serf-1
}