wok annotate libsearpc/receipt @ rev 21824

syslinux/taziso: floppy by floppy fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 10 09:01:01 2019 +0200 (2019-09-10)
parents 16df76e1fc6a
children 919a0f033502
rev   line source
pankso@16506 1 # SliTaz package receipt.
pankso@16506 2
pankso@16506 3 PACKAGE="libsearpc"
Hans-G?nter@21296 4 VERSION="3.1.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@21296 37 cp -a ${install}/usr/bin ${fs}/usr
Hans-G?nter@21296 38 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
pankso@16506 39 cp -a ${install}/usr/lib/python* ${fs}/usr/lib
pankso@16506 40 }