wok-next view gucharmap3/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 0ec6086e21d6 |
children | d958fec46c9f |
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"
12 TARBALL="gucharmap-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gucharmap/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gtk-doc automake gettext libtool gobject-introspection-dev \
16 intltool yelp-tools itstool gtk+3-dev desktop-file-utils-extra wget \
17 coreutils-file-summarize unzip vala"
18 SPLIT="gucharmap3-i18n gucharmap-gnome gucharmap3 gucharmap3-dev"
20 compile_rules() {
21 ./autogen.sh \
22 --enable-vala \
23 --with-unicode-data=download \
24 --program-suffix=3 \
25 PROG_UNZIP=/bin/unzip &&
26 fix libtool &&
27 make &&
28 make install || return 1
30 find $install/usr/bin -type l -delete
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 *-i18n)
36 copy *.mo
37 CAT="localization|language files"
38 ;;
39 *-gnome)
40 copy help/ metainfo/
41 CAT="gnome|GNOME integration"
42 ;;
43 gucharmap3)
44 copy @std @rm
45 DEPENDS="atk cairo glib gtk+3 pango"
46 ;;
47 *-dev)
48 copy @dev
49 DEPENDS="${SPLIT/$PACKAGE/} glib-dev gtk+3-dev"
50 ;;
51 esac
52 }