wok view serf/receipt @ rev 24793

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