wok view libsearpc/receipt @ rev 24365
created recipe for rubberband-2.0.2
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 04 17:35:01 2022 +0100 (2022-02-04) |
parents | 5ea0ce1cecc0 |
children | fb22330086d8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsearpc"
4 VERSION="3.2.0"
5 CATEGORY="network"
6 SHORT_DESC="A simple and easy-to-use C language RPC framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/haiwen/libsearpc/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
14 DEPENDS="glib jansson python"
15 BUILD_DEPENDS="automake glib-dev jansson-dev libtool python-dev \
16 python-simplejson"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
23 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh &&
30 ./configure \
31 --prefix=/usr \
32 PYTHON=/usr/bin/python2 \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p ${fs}/usr/lib
43 cp -a ${install}/usr/bin ${fs}/usr
44 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
45 cp -a ${install}/usr/lib/python* ${fs}/usr/lib
46 }