wok view libsearpc/receipt @ rev 20257

Add giflossy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 23:27:32 2018 +0100 (19 months ago)
parents 9f3a7907cf0c
children be444bbbf690
line source
1 # SliTaz package receipt.
3 PACKAGE="libsearpc"
4 VERSION="3.0.2"
5 CATEGORY="network"
6 SHORT_DESC="A simple and easy-to-use C language RPC framework."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/haiwen/libsearpc/"
11 WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
12 HOST_ARCH="i486 arm"
14 DEPENDS="python glib jansson"
15 BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson \
16 automake libtool"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh &&
22 ./configure \
23 --prefix=/usr \
24 PYTHON=/usr/bin/python2 \
25 $CONFIGURE_ARGS &&
26 make -j 1 && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p ${fs}/usr/lib
33 cp -a ${install}/usr/bin ${fs}/usr
34 cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib
35 cp -a ${install}/usr/lib/python* ${fs}/usr/lib
36 }