wok view libsearpc/receipt @ rev 23607
Up slitaz-boot-scripts (459)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 12 10:18:55 2020 +0000 (2020-04-12) |
parents | be444bbbf690 |
children | 5ea0ce1cecc0 |
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 # 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 }