wok-next annotate geoclue/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | |
children | 33dc3c330cc7 |
rev | line source |
---|---|
al@20615 | 1 # SliTaz package receipt v2. |
al@20615 | 2 |
al@20615 | 3 PACKAGE="geoclue" |
al@20615 | 4 VERSION="2.4.7" |
al@20615 | 5 CATEGORY="network" |
al@20615 | 6 SHORT_DESC="Modular geoinformation service built on top of the D-Bus" |
al@20615 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20615 | 8 LICENSE="GPL2" |
al@20615 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/GeoClue/" |
al@20615 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/geoclue2.html" |
al@20615 | 11 |
al@20615 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20615 | 13 WGET_URL="https://www.freedesktop.org/software/geoclue/releases/${VERSION%.*}/$TARBALL" |
al@20615 | 14 |
al@20615 | 15 BUILD_DEPENDS="intltool glib-dev json-glib-dev libsoup-dev \ |
al@20615 | 16 gobject-introspection-dev" |
al@20615 | 17 SPLIT="geoclue-dev" |
al@20615 | 18 |
al@20615 | 19 compile_rules() { |
al@20615 | 20 ./configure \ |
al@20615 | 21 --disable-3g-source \ |
al@20615 | 22 --disable-cdma-source \ |
al@20615 | 23 --disable-modem-gps-source \ |
al@20615 | 24 --disable-nmea-source \ |
al@20615 | 25 $CONFIGURE_ARGS && |
al@20615 | 26 fix libtool && |
al@20615 | 27 make && |
al@20615 | 28 make install |
al@20615 | 29 } |
al@20615 | 30 |
al@20615 | 31 genpkg_rules() { |
al@20615 | 32 case $PACKAGE in |
al@20615 | 33 geoclue) |
al@20615 | 34 copy @std |
al@20615 | 35 DEPENDS="glib json-glib libsoup" |
al@20615 | 36 ;; |
al@20615 | 37 *-dev) |
al@20615 | 38 copy @dev |
al@20615 | 39 DEPENDS="geoclue glib-dev" |
al@20615 | 40 ;; |
al@20615 | 41 esac |
al@20615 | 42 } |