wok annotate libsearpc/receipt @ rev 23330
updated perl-file-find-rule (0.32 -> 0.34)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 30 17:49:29 2020 +0100 (2020-03-30) |
parents | be444bbbf690 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pankso@16506 | 1 # SliTaz package receipt. |
pankso@16506 | 2 |
pankso@16506 | 3 PACKAGE="libsearpc" |
Hans-G?nter@23100 | 4 VERSION="3.2.0" |
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" |
Hans-G?nter@21296 | 9 WEB_SITE="https://github.com/haiwen/libsearpc/" |
Hans-G?nter@21296 | 10 |
pankso@16506 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16506 | 12 WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz" |
Hans-G?nter@21296 | 13 |
Hans-G?nter@21296 | 14 DEPENDS="glib jansson python" |
Hans-G?nter@21296 | 15 BUILD_DEPENDS="automake glib-dev jansson-dev libtool python-dev \ |
Hans-G?nter@21296 | 16 python-simplejson" |
Hans-G?nter@21296 | 17 |
pankso@16506 | 18 HOST_ARCH="i486 arm" |
pankso@16506 | 19 |
pankso@16506 | 20 # Rules to configure and make the package. |
pankso@16506 | 21 compile_rules() |
pankso@16506 | 22 { |
pankso@16506 | 23 ./autogen.sh && |
Hans-G?nter@21296 | 24 ./configure \ |
Hans-G?nter@21296 | 25 --prefix=/usr \ |
Hans-G?nter@21296 | 26 PYTHON=/usr/bin/python2 \ |
pankso@16506 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@21296 | 28 make -j 1 && |
Hans-G?nter@21296 | 29 make install |
pankso@16506 | 30 } |
pankso@16506 | 31 |
pankso@16506 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16506 | 33 genpkg_rules() |
pankso@16506 | 34 { |
pankso@16506 | 35 mkdir -p ${fs}/usr/lib |
Hans-G?nter@21296 | 36 |
Hans-G?nter@23100 | 37 cp -a ${install}/usr/bin ${fs}/usr |
Hans-G?nter@23100 | 38 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib |
Hans-G?nter@23100 | 39 cp -a ${install}/usr/lib/python* ${fs}/usr/lib |
pankso@16506 | 40 } |