wok-next view libsearpc/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents 5841522533ec
children
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="devel@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="$PACKAGE-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 }