wok-6.x view ibus/receipt @ rev 14335

Add linux-uml
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 13 15:34:35 2013 +0200 (2013-04-13)
parents
children 76b72f1ad63c
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 WEB_SITE="http://code.google.com/p/ibus/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://ibus.googlecode.com/files/$TARBALL"
12 DEPENDS="gtk+"
13 BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \
14 intltool gettext perl iso-codes"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 --disable-gtk3 \
24 --with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
25 $CONFIGURE_ARGS &&
26 make && make -k DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 rm -rf $install/usr/include
34 rm -rf $install/usr/lib/pkgconfig
35 rm -rf $install/usr/share/gtk-doc
36 find $install/usr/lib | grep 'a$' | xargs rm -f
37 }