wok diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsearpc/receipt	Thu Apr 24 15:38:01 2014 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsearpc"
     1.7 +VERSION="3.0.2"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="A simple and easy-to-use C language RPC framework."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/haiwen/libsearpc/"
    1.14 +WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
    1.15 +HOST_ARCH="i486 arm"
    1.16 +
    1.17 +DEPENDS="python glib jansson"
    1.18 +BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson"
    1.19 +	
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./autogen.sh &&
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		PYTHON=/usr/bin/python2 \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p ${fs}/usr/lib
    1.35 +	cp -a ${install}/usr/bin ${fs}/usr
    1.36 +	cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
    1.37 +	cp -a ${install}/usr/lib/python* ${fs}/usr/lib
    1.38 +}
    1.39 +