wok-6.x view 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
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="http://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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 scons &&
20 scons PREFIX=$DESTDIR/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }