wok view ibus/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | 8dd8bab3f0ca |
children | 00e3b45c063b |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/ibus/ibus/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR$(ls -d /usr/lib/gtk-2*/2*/immodules/)
28 ./configure --prefix=/usr \
29 --mandir=/usr/share/man \
30 --infodir=/usr/share/info \
31 --disable-gtk3 \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $src/client/gtk2/im-ibus.la $install/usr/lib/gtk-2*/2*/immodules/
40 cp -a $install/* $fs
41 rm -rf $fs/usr/include
42 rm -rf $fs/usr/lib/pkgconfig
43 rm -rf $fs/usr/share/gtk-doc
44 find $fs/usr/lib | grep 'a$' | xargs rm -f
45 }