wok-next annotate geoclue/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 0222c6257a8d
children
rev   line source
al@20615 1 # SliTaz package receipt v2.
al@20615 2
al@20615 3 PACKAGE="geoclue"
al@21010 4 VERSION="2.4.12"
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@21010 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21010 16 gobject-introspection-dev vala libnotify-dev"
al@21010 17 SPLIT="$PACKAGE-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 }