wok view ibus/receipt @ rev 15079

libdes: add license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 17:28:10 2013 +0000 (2013-08-13)
parents c8e8372d27d3
children a878c0bc5dbd
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 cd $src
21 ./configure --prefix=/usr \
22 --mandir=/usr/share/man \
23 --infodir=/usr/share/info \
24 --disable-gtk3 \
25 --with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
26 $CONFIGURE_ARGS &&
27 make && make -k DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 rm -rf $install/usr/include
35 rm -rf $install/usr/lib/pkgconfig
36 rm -rf $install/usr/share/gtk-doc
37 find $install/usr/lib | grep 'a$' | xargs rm -f
38 }