wok-next view serf/receipt @ rev 20430

fake-sane: fix copy-paste typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 24 13:29:11 2018 +0200 (2018-01-24)
parents
children 0e7893ac206d
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 libldap-dev openssl-dev \
37 util-linux-uuid-dev zlib-dev"
38 ;;
39 esac
40 }