wok-next view rest/receipt @ rev 20903

Add rest, update (b)deps in gnome-online-accounts, libgdata, gvfs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 30 23:26:54 2018 +0300 (2018-07-30)
parents
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rest"
4 VERSION="0.8.1"
5 CATEGORY="network"
6 SHORT_DESC="Helper library for RESTful services"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/Projects/Librest"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev libsoup-dev gobject-introspection-dev"
15 SPLIT="rest-dev"
17 compile_rules() {
18 ./configure \
19 --with-ca-certificates=/etc/ssl/ \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 rest)
29 copy @std
30 DEPENDS="glib libsoup libsoup-gnome libxml2"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="rest glib-dev libsoup-dev libxml2-dev"
35 ;;
36 esac
37 }