wok-next view ibus/receipt @ rev 15362
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 02 13:07:29 2013 +0000 (2013-10-02) |
parents | a878c0bc5dbd |
children | 16df76e1fc6a |
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 mkdir -p $DESTDIR$(ls -d /usr/lib/gtk-2*/2*/immodules/)
22 ./configure --prefix=/usr \
23 --mandir=/usr/share/man \
24 --infodir=/usr/share/info \
25 --disable-gtk3 \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $src/client/gtk2/im-ibus.la $install/usr/lib/gtk-2*/2*/immodules/
34 cp -a $install/* $fs
35 rm -rf $fs/usr/include
36 rm -rf $fs/usr/lib/pkgconfig
37 rm -rf $fs/usr/share/gtk-doc
38 find $fs/usr/lib | grep 'a$' | xargs rm -f
39 }