wok-next view gucharmap/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 0e45ab8d23da |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gucharmap"
4 VERSION="3.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="GNOME Character Map (GTK+2)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="itstool libxml2-tools glib-dev gtk+-dev intltool"
14 SPLIT="gucharmap gucharmap-dev gucharmap-i18n"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --sysconfdir=/etc \
21 --disable-maintainer-mode \
22 --disable-gconf \
23 --disable-schemas-install \
24 --disable-scrollkeeper \
25 --with-gtk=2.0 \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 gucharmap)
35 DEPENDS="gtk+ xorg-libXdamage"
36 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share/applications $fs/usr/share
41 ;;
42 gucharmap-dev)
43 CAT="development|GNOME Character Map (GTK+2), development files"
44 DEPENDS="gucharmap"
45 mkdir -p $fs/usr/lib $fs/usr/share
46 cp -a $install/usr/include $fs/usr
47 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
48 cp -a $install/usr/lib/*.la $fs/usr/lib
49 ;;
50 gucharmap-i18n)
51 CAT="localization|Language files for GNOME Character Map (GTK+2)"
52 DEPENDS="gucharmap"
53 mkdir -p $fs/usr/share/locale
54 cp -a $install/usr/share/locale/* $fs/usr/share/locale
55 ;;
56 esac
57 }