wok-next annotate libgdata/receipt @ rev 21013
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 14 05:29:23 2018 +0300 (2018-10-14) |
parents | b058b9d6d518 |
children | d5aab818505e |
rev | line source |
---|---|
al@20902 | 1 # SliTaz package receipt v2. |
al@20902 | 2 |
al@20902 | 3 PACKAGE="libgdata" |
al@20902 | 4 VERSION="0.17.9" |
al@20902 | 5 CATEGORY="network" |
al@20902 | 6 SHORT_DESC="Access library for gdata" |
al@20902 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20902 | 8 LICENSE="LGPL2.1" |
al@20903 | 9 WEB_SITE="https://wiki.gnome.org/Projects/libgdata" |
al@20902 | 10 |
al@20902 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20902 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@20902 | 13 |
al@20902 | 14 BUILD_DEPENDS="glib-dev libxml2-dev libsoup-dev json-glib-dev liboauth-dev \ |
al@20903 | 15 gdk-pixbuf-dev uhttpmock-dev intltool gobject-introspection-dev vala \ |
al@20904 | 16 shared-mime-info gcr-dev gnome-online-accounts-dev" |
al@20902 | 17 SPLIT="libgdata-dev" |
al@20902 | 18 |
al@20902 | 19 compile_rules() { |
al@20902 | 20 DATADIRNAME=share ./configure \ |
al@20902 | 21 --prefix=/usr \ |
al@20902 | 22 --sysconfdir=/etc \ |
al@20903 | 23 $CONFIGURE_ARGS && |
al@20903 | 24 fix libtool && |
al@20902 | 25 make && |
al@20903 | 26 make DESTDIR=$install install |
al@20902 | 27 } |
al@20902 | 28 |
al@20902 | 29 genpkg_rules() { |
al@20902 | 30 case $PACKAGE in |
al@20902 | 31 libgdata) |
al@20902 | 32 copy @std |
al@20903 | 33 DEPENDS="gcr-base glib gnome-online-accounts json-glib liboauth \ |
al@20903 | 34 libsoup libxml2" |
al@20902 | 35 ;; |
al@20902 | 36 *-dev) |
al@20902 | 37 copy @dev |
al@20903 | 38 DEPENDS="libgdata gcr-dev gnome-online-accounts-dev json-glib-dev \ |
al@20903 | 39 liboauth-dev libsoup-dev libxml2-dev" |
al@20902 | 40 ;; |
al@20902 | 41 esac |
al@20902 | 42 } |