wok-next diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/geoclue/receipt Tue Jun 05 17:27:09 2018 +0300 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="geoclue" 1.7 +VERSION="2.4.7" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Modular geoinformation service built on top of the D-Bus" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="https://www.freedesktop.org/wiki/Software/GeoClue/" 1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/geoclue2.html" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 +WGET_URL="https://www.freedesktop.org/software/geoclue/releases/${VERSION%.*}/$TARBALL" 1.17 + 1.18 +BUILD_DEPENDS="intltool glib-dev json-glib-dev libsoup-dev \ 1.19 +gobject-introspection-dev" 1.20 +SPLIT="geoclue-dev" 1.21 + 1.22 +compile_rules() { 1.23 + ./configure \ 1.24 + --disable-3g-source \ 1.25 + --disable-cdma-source \ 1.26 + --disable-modem-gps-source \ 1.27 + --disable-nmea-source \ 1.28 + $CONFIGURE_ARGS && 1.29 + fix libtool && 1.30 + make && 1.31 + make install 1.32 +} 1.33 + 1.34 +genpkg_rules() { 1.35 + case $PACKAGE in 1.36 + geoclue) 1.37 + copy @std 1.38 + DEPENDS="glib json-glib libsoup" 1.39 + ;; 1.40 + *-dev) 1.41 + copy @dev 1.42 + DEPENDS="geoclue glib-dev" 1.43 + ;; 1.44 + esac 1.45 +}