wok view ibus/receipt @ rev 20927

updated fltk again (1.3.3 -> 1.3.4.2)
author Hans-G?nter Theisgen
date Sat Mar 02 13:08:40 2019 +0100 (2019-03-02)
parents 16df76e1fc6a
children b569b85b0fb9
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="https://github.com/ibus/ibus/wiki"
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 }