wok-next view gucharmap3/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | b179f9dccd74 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gucharmap3"
4 VERSION="10.0.4"
5 CATEGORY="utilities"
6 SHORT_DESC="GNOME Character Map for GTK+3"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://wiki.gnome.org/Apps/Gucharmap"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gucharmap.html"
11 REPOLOGY="gucharmap"
13 TARBALL="gucharmap-$VERSION.tar.xz"
14 WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL"
16 BUILD_DEPENDS="gtk-doc automake gettext libtool gobject-introspection-dev \
17 intltool yelp-tools itstool gtk+3-dev desktop-file-utils-extra wget \
18 coreutils-file-summarize unzip vala"
19 SPLIT="gucharmap3-i18n gucharmap-gnome gucharmap3 gucharmap3-dev"
21 compile_rules() {
22 ./autogen.sh \
23 --enable-vala \
24 --with-unicode-data=download \
25 --program-suffix=3 \
26 PROG_UNZIP=/bin/unzip &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 find $install/usr/bin -type l -delete
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 *-i18n)
37 copy *.mo
38 CAT="localization|language files"
39 ;;
40 *-gnome)
41 copy help/ metainfo/
42 CAT="gnome|GNOME integration"
43 ;;
44 gucharmap3)
45 copy @std @rm
46 DEPENDS="atk cairo glib gtk+3 pango"
47 ;;
48 *-dev)
49 copy @dev
50 DEPENDS="${SPLIT/$PACKAGE/} glib-dev gtk+3-dev"
51 ;;
52 esac
53 }