wok-next view serf/receipt @ rev 20543

xorg-xf86-video-fbturbo: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 03 11:07:12 2018 +0200 (2018-04-03)
parents 6c73b944e8dd
children 3bec5f368ce1
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 openssl libldap \
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 }