wok-next view geoclue/receipt @ rev 21132

zlib: separate zlib-static from zlib-dev and use it where it required: in optipng (up 0.7.7) and pngquant
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jan 20 14:42:46 2019 +0200 (2019-01-20)
parents 0222c6257a8d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="geoclue"
4 VERSION="2.4.12"
5 CATEGORY="network"
6 SHORT_DESC="Modular geoinformation service built on top of the D-Bus"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/GeoClue/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/geoclue2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://www.freedesktop.org/software/geoclue/releases/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool glib-dev json-glib-dev libsoup-dev \
16 gobject-introspection-dev vala libnotify-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --disable-3g-source \
22 --disable-cdma-source \
23 --disable-modem-gps-source \
24 --disable-nmea-source \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 geoclue)
34 copy @std
35 DEPENDS="glib json-glib libsoup"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="geoclue glib-dev"
40 ;;
41 esac
42 }