wok-current annotate 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 |
rev | line source |
---|---|
pankso@16506 | 1 # SliTaz package receipt. |
pankso@16506 | 2 |
pankso@16506 | 3 PACKAGE="libsearpc" |
pankso@16506 | 4 VERSION="3.0.2" |
pankso@16506 | 5 CATEGORY="network" |
pankso@16506 | 6 SHORT_DESC="A simple and easy-to-use C language RPC framework." |
pankso@16506 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16506 | 8 LICENSE="GPL3" |
pankso@16506 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16506 | 10 WEB_SITE="https://github.com/haiwen/libsearpc/" |
pankso@16506 | 11 WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz" |
pankso@16506 | 12 HOST_ARCH="i486 arm" |
pankso@16506 | 13 |
pankso@16506 | 14 DEPENDS="python glib jansson" |
pankso@16506 | 15 BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson" |
pankso@16506 | 16 |
pankso@16506 | 17 # Rules to configure and make the package. |
pankso@16506 | 18 compile_rules() |
pankso@16506 | 19 { |
pankso@16506 | 20 ./autogen.sh && |
pankso@16506 | 21 ./configure \ |
pankso@16506 | 22 --prefix=/usr \ |
pankso@16506 | 23 PYTHON=/usr/bin/python2 \ |
pankso@16506 | 24 $CONFIGURE_ARGS && |
pankso@16506 | 25 make && make install |
pankso@16506 | 26 } |
pankso@16506 | 27 |
pankso@16506 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16506 | 29 genpkg_rules() |
pankso@16506 | 30 { |
pankso@16506 | 31 mkdir -p ${fs}/usr/lib |
pankso@16506 | 32 cp -a ${install}/usr/bin ${fs}/usr |
pankso@16506 | 33 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib |
pankso@16506 | 34 cp -a ${install}/usr/lib/python* ${fs}/usr/lib |
pankso@16506 | 35 } |
pankso@16506 | 36 |