wok-next view libsearpc/receipt @ rev 16506

Add libsearpc to bith arch + python-simplejson to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 15:38:01 2014 +0200 (2014-04-24)
parents
children 9f3a7907cf0c
line source
1 # SliTaz package receipt.
3 PACKAGE="libsearpc"
4 VERSION="3.0.2"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/haiwen/libsearpc/"
11 WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
12 HOST_ARCH="i486 arm"
14 DEPENDS="python glib jansson"
15 BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh &&
21 ./configure \
22 --prefix=/usr \
23 PYTHON=/usr/bin/python2 \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p ${fs}/usr/lib
32 cp -a ${install}/usr/bin ${fs}/usr
33 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
34 cp -a ${install}/usr/lib/python* ${fs}/usr/lib
35 }