wok-next view serf/receipt @ rev 20444

python-pip and setuptools are parts of python package.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 26 04:46:49 2018 +0200 (2018-02-26)
parents 0e7893ac206d
children e6615350078d
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="scons 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 libcrypto libldap libssl \
32 util-linux-uuid zlib"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="serf expat-dev gdbm openldap-dev openssl-dev \
37 util-linux-uuid-dev zlib-dev"
38 ;;
39 esac
40 }