wok-next view libsearpc/receipt @ rev 18886
firmware*: add descriptions, add firmware-iwlwifi-{100,105,135,2030,3160,7260,7265}
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 12 15:45:46 2016 +0200 (2016-02-12) |
parents | 9f3a7907cf0c |
children | c4e53a39395a |
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 }