wok annotate serf/receipt @ rev 25175
updated python-cryptography (2.7 -> 2.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:39:11 2022 +0100 (2022-07-01) |
parents | 934055de50e2 |
children | 4e2caf3cd17b |
rev | line source |
---|---|
pascal@22774 | 1 # SliTaz package receipt. |
pascal@22774 | 2 |
pascal@22774 | 3 PACKAGE="serf" |
pascal@22774 | 4 VERSION="1.3.9" |
pascal@22774 | 5 CATEGORY="network" |
pascal@22774 | 6 SHORT_DESC="high performance C-based HTTP client library" |
pascal@22774 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22774 | 8 LICENSE="Apache" |
pascal@22774 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@24746 | 10 WEB_SITE="https://serf.apache.org/" |
pascal@22774 | 11 WGET_URL="https://www.apache.org/dist/serf/$TARBALL" |
pascal@22774 | 12 |
pascal@22774 | 13 DEPENDS="libssl zlib apr apr-util" |
pascal@22774 | 14 BUILD_DEPENDS="scons apr-dev apr-util-dev openssl-dev zlib-dev" |
pascal@22774 | 15 |
pascal@24462 | 16 # What is the latest version available today? |
pascal@24462 | 17 current_version() |
pascal@24462 | 18 { |
pascal@24462 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24462 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24462 | 21 } |
pascal@24462 | 22 |
pascal@22774 | 23 # Rules to configure and make the package. |
pascal@22774 | 24 compile_rules() |
pascal@22774 | 25 { |
pascal@22774 | 26 scons && |
pascal@22774 | 27 scons PREFIX=$DESTDIR/usr install |
pascal@22774 | 28 } |
pascal@22774 | 29 |
pascal@22774 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22774 | 31 genpkg_rules() |
pascal@22774 | 32 { |
pascal@22774 | 33 mkdir -p $fs/usr/lib |
pascal@22774 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@22774 | 35 } |