wok-next annotate serf/receipt @ rev 20740

Up fasm (1.73.04)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 29 21:26:14 2018 +0200 (2018-05-29)
parents 3bec5f368ce1
children f48456621a9d
rev   line source
al@20357 1 # SliTaz package receipt v2.
al@20357 2
al@20357 3 PACKAGE="serf"
al@20357 4 VERSION="1.3.9"
al@20357 5 CATEGORY="libdevel"
al@20357 6 SHORT_DESC="High-performance asynchronous HTTP client library"
al@20357 7 MAINTAINER="al.bobylev@gmail.com"
al@20357 8 LICENSE="Apache"
al@20357 9 WEB_SITE="https://serf.apache.org/"
al@20357 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/serf.html"
al@20357 11
al@20357 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20357 13 WGET_URL="https://archive.apache.org/dist/serf/$TARBALL"
al@20357 14
al@20739 15 BUILD_DEPENDS="scons2 apr-dev apr-util-dev"
al@20357 16 SPLIT="serf-dev"
al@20357 17
al@20357 18 compile_rules() {
al@20357 19 sed -i "/Append/s:RPATH=libdir,::" SConstruct &&
al@20357 20 sed -i "/Default/s:lib_static,::" SConstruct &&
al@20357 21 sed -i "/Alias/s:install_static,::" SConstruct &&
al@20357 22
al@20357 23 scons PREFIX=/usr &&
al@20357 24 scons PREFIX=/usr install --install-sandbox=$install
al@20357 25 }
al@20357 26
al@20357 27 genpkg_rules() {
al@20357 28 case $PACKAGE in
al@20357 29 serf)
al@20357 30 copy @std
al@20621 31 DEPENDS="apr apr-util expat gdbm libldap openssl util-linux-uuid zlib"
al@20357 32 ;;
al@20357 33 *-dev)
al@20357 34 copy @dev
al@20621 35 DEPENDS="serf expat-dev gdbm-dev openldap-dev openssl-dev \
al@20357 36 util-linux-uuid-dev zlib-dev"
al@20357 37 ;;
al@20357 38 esac
al@20357 39 }
al@20443 40