wok-next view libmateweather/receipt @ rev 21271

up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 07 12:21:21 2019 +0000 (2019-12-07)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmateweather"
4 VERSION="1.20.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Library to access weather information from online services"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/mate-desktop/libmateweather"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mate-desktop/libmateweather/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="mate-common gtk-doc gtk3-dev libsoup-dev tzdata"
15 SPLIT="$PACKAGE-misc-icons $PACKAGE-misc-locales $PACKAGE-dev"
17 compile_rules() {
18 ./autogen.sh \
19 --enable-locations-compression \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libmateweather)
29 copy @std
30 # most of icons -> libmateweather-misc-icons
31 for i in 22x22 24x24 32x32 scalable; do
32 rm -r $fs/usr/share/icons/mate/$i
33 done
34 # most of locales -> libmateweather-misc-locales
35 rm $fs/usr/share/libmateweather/*.gz
36 for i in de es fr pt_BR ru; do
37 cp $install/usr/share/libmateweather/Locations.$i.xml.gz \
38 $fs/usr/share/libmateweather
39 done
40 DEPENDS="gdk-pixbuf glib gtk3 libsoup libxml2"
41 ;;
42 libmateweather-misc-icons)
43 copy icons/mate/ @rm
44 CAT="customization|big icons"
45 DEPENDS="libmateweather"
46 ;;
47 libmateweather-misc-locales)
48 copy @std @rm
49 CAT="localization|different locales"
50 DEPENDS="libmateweather"
51 ;;
52 *-dev)
53 copy @dev
54 DEPENDS="${SPLIT/$PACKAGE/} gdk-pixbuf-dev glib-dev gtk3-dev \
55 libsoup-dev libxml2-dev"
56 ;;
57 esac
58 TAGS="MATE"
59 }