wok-next view gucharmap3/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
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-dev libtool gobject-introspection-dev \
17 intltool yelp-tools-dev itstool gtk3-dev desktop-file-utils-extra wget \
18 coreutils-file-summarize unzip vala"
19 SPLIT="$PACKAGE-i18n $PACKAGE-gnome $PACKAGE $PACKAGE-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 }