wok-next view rest/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents b058b9d6d518
children
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="$PACKAGE-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 }