wok-next view libsearpc/receipt @ rev 20908

bzip2: update home page and source URL (thanks shann); domain bzip.org is suspended now...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 12 04:53:45 2018 +0300 (2018-08-12)
parents 9e5dca6702bf
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://github.com/haiwen/libsearpc/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz"
14 BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson \
15 automake libtool"
16 SPLIT="libsearpc-dev"
18 compile_rules() {
19 ./autogen.sh &&
20 ./configure \
21 PYTHON=/usr/bin/python2 \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make -j1 &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libsearpc)
31 copy @std
32 DEPENDS="python glib jansson"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }