wok-next view serf/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 0ed3f456a542 |
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/svn/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="$PACKAGE-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 }