wok-current view libsearpc/receipt @ rev 16879
pango-dev: add harfbuzz-dev to deps.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 13 20:16:24 2014 +0300 (2014-07-13) |
parents | 048c66ed11ec |
children | 16df76e1fc6a |
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 }