wok-current annotate libsearpc/receipt @ rev 17230
flake8, snimpy: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 16 15:18:12 2014 +0200 (2014-10-16) |
parents | 048c66ed11ec |
children | 16df76e1fc6a |
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" |
pascal@16508 | 15 BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson \ |
pascal@16508 | 16 automake libtool" |
pankso@16506 | 17 |
pankso@16506 | 18 # Rules to configure and make the package. |
pankso@16506 | 19 compile_rules() |
pankso@16506 | 20 { |
pankso@16506 | 21 ./autogen.sh && |
pankso@16506 | 22 ./configure \ |
pankso@16506 | 23 --prefix=/usr \ |
pankso@16506 | 24 PYTHON=/usr/bin/python2 \ |
pankso@16506 | 25 $CONFIGURE_ARGS && |
pascal@16508 | 26 make -j 1 && make install |
pankso@16506 | 27 } |
pankso@16506 | 28 |
pankso@16506 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16506 | 30 genpkg_rules() |
pankso@16506 | 31 { |
pankso@16506 | 32 mkdir -p ${fs}/usr/lib |
pankso@16506 | 33 cp -a ${install}/usr/bin ${fs}/usr |
pankso@16506 | 34 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib |
pankso@16506 | 35 cp -a ${install}/usr/lib/python* ${fs}/usr/lib |
pankso@16506 | 36 } |
pankso@16506 | 37 |