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