wok-6.x annotate serf/receipt @ rev 24016

Up tazinst (113)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 12:03:41 2021 +0000 (2021-02-25)
parents
children 934055de50e2
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@22774 10 WEB_SITE="http://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@22774 16 # Rules to configure and make the package.
pascal@22774 17 compile_rules()
pascal@22774 18 {
pascal@22774 19 scons &&
pascal@22774 20 scons PREFIX=$DESTDIR/usr install
pascal@22774 21 }
pascal@22774 22
pascal@22774 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22774 24 genpkg_rules()
pascal@22774 25 {
pascal@22774 26 mkdir -p $fs/usr/lib
pascal@22774 27 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@22774 28 }