wok-next view gucharmap3/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d958fec46c9f |
children | d5aab818505e |
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/svn/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 gtk3-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 gtk3 pango"
47 ;;
48 *-dev)
49 copy @dev
50 DEPENDS="${SPLIT/$PACKAGE/} glib-dev gtk3-dev"
51 ;;
52 esac
53 }