wok-next view libmateweather/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | 757d032c55c7 |
children | 9102678083fb |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmateweather"
4 VERSION="1.18.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 gtk+3-dev libsoup-dev tzdata"
15 SPLIT="libmateweather-misc-icons libmateweather-misc-locales libmateweather-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 gtk+3 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 gtk+3-dev \
55 libsoup-dev libxml2-dev"
56 ;;
57 esac
58 TAGS="MATE"
59 }