wok-next view libsearpc/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }