wok-next annotate serf/receipt @ rev 21317
updated john (1.7.8 -> 1.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 17:31:47 2019 +0100 (2019-12-10) |
parents | 0ed3f456a542 |
children |
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@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21121 | 14 TARBALL_SHA1="26015c63e3bbb108c1689bf2090e4c26351db674" |
al@20357 | 15 |
al@20739 | 16 BUILD_DEPENDS="scons2 apr-dev apr-util-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
al@20357 | 18 |
al@21121 | 19 DEPENDS_std="apr apr-util openssl zlib" # expat libgdbm libldap util-linux-uuid ? |
al@21121 | 20 DEPENDS_dev="$PACKAGE apr-dev apr-util-dev expat-dev gdbm-dev openldap-dev \ |
al@21121 | 21 openssl-dev util-linux-uuid-dev zlib-dev" |
al@21121 | 22 |
al@20357 | 23 compile_rules() { |
al@21121 | 24 scons PREFIX=/usr && |
al@21121 | 25 scons PREFIX=/usr install --install-sandbox=$install || return 1 |
al@20357 | 26 |
al@21121 | 27 find $install -type f -name '*.h' -exec chmod go-w '{}' \; # 666->644 |
al@20357 | 28 } |