wok-next view libmateweather/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | 65c0fe17f3b9 |
children | 342b30daff76 |
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="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+3 \
41 libffi libharfbuzz liblzma libpng16 libsoup libsqlite3 libxml2 \
42 pango pcre util-linux-blkid util-linux-mount util-linux-uuid \
43 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender \
44 xorg-libxcb xorg-pixman zlib"
45 ;;
46 libmateweather-misc-icons)
47 copy icons/mate/ @rm
48 CAT="customization|big icons"
49 DEPENDS="libmateweather"
50 ;;
51 libmateweather-misc-locales)
52 copy @std @rm
53 CAT="localization|different locales"
54 DEPENDS="libmateweather"
55 ;;
56 *-dev)
57 copy @dev
58 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
59 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
60 harfbuzz-dev libffi-dev libpng16-dev libsoup-dev libxml2-dev \
61 pango-dev pcre-dev sqlite3-dev util-linux-blkid-dev \
62 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
63 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
64 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
65 ;;
66 esac
67 TAGS="MATE"
68 }