wok-next view ibus/receipt @ rev 18324

Up tazwikiss (248)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 03 09:59:14 2015 +0200 (2015-09-03)
parents d241f7e37b46
children c3a368c0cddb
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="http://code.google.com/p/ibus/"
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 }