wok view libsearpc/receipt @ rev 22744
updated e2fsprogs and e2fsprogs-dev (1.44.5 -> 1.45.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 09:12:06 2020 +0100 (2020-01-24) |
parents | 16df76e1fc6a |
children | 919a0f033502 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libsearpc"
4 VERSION="3.1.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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh &&
24 ./configure \
25 --prefix=/usr \
26 PYTHON=/usr/bin/python2 \
27 $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p ${fs}/usr/lib
37 cp -a ${install}/usr/bin ${fs}/usr
38 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
39 cp -a ${install}/usr/lib/python* ${fs}/usr/lib
40 }