wok diff ibus/receipt @ rev 14544

firefox-langpack-pt_BR: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Wed May 22 21:57:01 2013 +0200 (2013-05-22)
parents
children 76b72f1ad63c
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ibus/receipt	Wed May 22 21:57:01 2013 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ibus"
     1.7 +VERSION="1.4.2"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Intelligent Input Bus for Linux / Unix OS"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://code.google.com/p/ibus/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="http://ibus.googlecode.com/files/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gtk+"
    1.16 +BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \
    1.17 +intltool gettext perl iso-codes"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./configure --prefix=/usr \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		--infodir=/usr/share/info \
    1.26 +		--disable-gtk3 \
    1.27 +		--with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make -k DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	cp -a $install/* $fs
    1.36 +	rm -rf $install/usr/include
    1.37 +	rm -rf $install/usr/lib/pkgconfig
    1.38 +	rm -rf $install/usr/share/gtk-doc
    1.39 +	find $install/usr/lib | grep 'a$' | xargs rm -f
    1.40 +}