wok view ibus/receipt @ rev 22150

updated xar and xar-dev (1.5.2 -> 1.6.1)
author Hans-G?nter Theisgen
date Wed Nov 06 17:36:13 2019 +0100 (2019-11-06)
parents 16df76e1fc6a
children b569b85b0fb9
line source
1 # SliTaz package receipt.
3 PACKAGE="ibus"
4 VERSION="1.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Intelligent Input Bus for Linux / Unix OS"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/ibus/ibus/wiki"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ibus.googlecode.com/files/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \
15 intltool gettext perl iso-codes"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR$(ls -d /usr/lib/gtk-2*/2*/immodules/)
21 ./configure --prefix=/usr \
22 --mandir=/usr/share/man \
23 --infodir=/usr/share/info \
24 --disable-gtk3 \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $src/client/gtk2/im-ibus.la $install/usr/lib/gtk-2*/2*/immodules/
33 cp -a $install/* $fs
34 rm -rf $fs/usr/include
35 rm -rf $fs/usr/lib/pkgconfig
36 rm -rf $fs/usr/share/gtk-doc
37 find $fs/usr/lib | grep 'a$' | xargs rm -f
38 }