wok-6.x view libsearpc/receipt @ rev 18804

Up vanessa_adt (0.0.9), vanessa_logger (0.0.10), vanessa_socket (0.0.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 13 22:13:51 2016 +0100 (2016-01-13)
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 }