wok-next view serf/receipt @ rev 20871

fossil: up (2.6) / fix build; sqlite3: up (3.24.0), drop providing "sqlite[^3]*"; add staticperl
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 22:39:08 2018 +0300 (2018-07-02)
parents 3bec5f368ce1
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="serf"
4 VERSION="1.3.9"
5 CATEGORY="libdevel"
6 SHORT_DESC="High-performance asynchronous HTTP client library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://serf.apache.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/serf.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://archive.apache.org/dist/serf/$TARBALL"
15 BUILD_DEPENDS="scons2 apr-dev apr-util-dev"
16 SPLIT="serf-dev"
18 compile_rules() {
19 sed -i "/Append/s:RPATH=libdir,::" SConstruct &&
20 sed -i "/Default/s:lib_static,::" SConstruct &&
21 sed -i "/Alias/s:install_static,::" SConstruct &&
23 scons PREFIX=/usr &&
24 scons PREFIX=/usr install --install-sandbox=$install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 serf)
30 copy @std
31 DEPENDS="apr apr-util expat gdbm libldap openssl util-linux-uuid zlib"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="serf expat-dev gdbm-dev openldap-dev openssl-dev \
36 util-linux-uuid-dev zlib-dev"
37 ;;
38 esac
39 }