wok view libsearpc/receipt @ rev 19591
Up cacerts (20161227)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 30 01:56:58 2016 +0200 (2016-12-30) |
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 }