wok-next annotate libmateweather/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | 65c0fe17f3b9 |
children | 342b30daff76 |
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@20096 | 40 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \ |
al@20096 | 41 libffi libharfbuzz liblzma libpng16 libsoup libsqlite3 libxml2 \ |
al@20096 | 42 pango pcre util-linux-blkid util-linux-mount util-linux-uuid \ |
al@20096 | 43 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \ |
al@20096 | 44 xorg-libxcb xorg-pixman zlib" |
al@20096 | 45 ;; |
al@20096 | 46 libmateweather-misc-icons) |
al@20096 | 47 copy icons/mate/ @rm |
al@20096 | 48 CAT="customization|big icons" |
al@20096 | 49 DEPENDS="libmateweather" |
al@20096 | 50 ;; |
al@20096 | 51 libmateweather-misc-locales) |
al@20096 | 52 copy @std @rm |
al@20096 | 53 CAT="localization|different locales" |
al@20096 | 54 DEPENDS="libmateweather" |
al@20096 | 55 ;; |
al@20096 | 56 *-dev) |
al@20096 | 57 copy @dev |
al@20096 | 58 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \ |
al@20096 | 59 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \ |
al@20096 | 60 harfbuzz-dev libffi-dev libpng16-dev libsoup-dev libxml2-dev \ |
al@20096 | 61 pango-dev pcre-dev sqlite3-dev util-linux-blkid-dev \ |
al@20096 | 62 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \ |
al@20096 | 63 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ |
al@20096 | 64 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" |
al@20096 | 65 ;; |
al@20096 | 66 esac |
al@20096 | 67 TAGS="MATE" |
yuripourre@17701 | 68 } |