wok-next view libsearpc/receipt @ rev 21412

portmap: added build dependency
author Hans-G?nter Theisgen
date Sat Apr 25 17:22:05 2020 +0100 (2020-04-25)
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 }