wok-next view ibus/receipt @ rev 20526

Up mtpaint (3.49.13)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 17:51:29 2018 +0200 (2018-03-23)
parents 16df76e1fc6a
children e545e47edffa
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ibus.googlecode.com/files/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \
15 intltool gettext perl iso-codes"
16 SPLIT="ibus-dev"
18 compile_rules() {
19 mkdir -p $DESTDIR$(ls -d /usr/lib/gtk-2*/2*/immodules/)
20 ./configure --prefix=/usr \
21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 --disable-gtk3 \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 ibus)
31 cp -a $src/client/gtk2/im-ibus.la $install/usr/lib/gtk-2*/2*/immodules/
32 cp -a $install/* $fs
33 rm -rf $fs/usr/include
34 rm -rf $fs/usr/lib/pkgconfig
35 rm -rf $fs/usr/share/gtk-doc
36 find $fs/usr/lib | grep 'a$' | xargs rm -f
37 DEPENDS="gtk+"
38 ;;
39 *-dev)
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/include $fs/usr
42 cp -a $install/usr/lib $fs/usr
43 find $install/usr/lib | grep '\.so' | xargs rm -f
44 ;;
45 esac
46 }