wok-6.x annotate ibus/receipt @ rev 13507
razorqt: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 14 12:11:18 2012 +0200 (2012-10-14) |
parents | |
children | 76b72f1ad63c |
rev | line source |
---|---|
pascal@13358 | 1 # SliTaz package receipt. |
pascal@13358 | 2 |
pascal@13358 | 3 PACKAGE="ibus" |
pascal@13358 | 4 VERSION="1.4.2" |
pascal@13358 | 5 CATEGORY="utilities" |
pascal@13358 | 6 SHORT_DESC="Intelligent Input Bus for Linux / Unix OS" |
pascal@13358 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13358 | 8 WEB_SITE="http://code.google.com/p/ibus/" |
pascal@13358 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13358 | 10 WGET_URL="http://ibus.googlecode.com/files/$TARBALL" |
pascal@13358 | 11 |
pascal@13358 | 12 DEPENDS="gtk+" |
pascal@13358 | 13 BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \ |
pascal@13358 | 14 intltool gettext perl iso-codes" |
pascal@13358 | 15 |
pascal@13358 | 16 # Rules to configure and make the package. |
pascal@13358 | 17 compile_rules() |
pascal@13358 | 18 { |
pascal@13358 | 19 cd $src |
pascal@13358 | 20 ./configure --prefix=/usr \ |
pascal@13358 | 21 --mandir=/usr/share/man \ |
pascal@13358 | 22 --infodir=/usr/share/info \ |
pascal@13358 | 23 --disable-gtk3 \ |
pascal@13358 | 24 --with-gtk2-im-module-dir=$(ls -d /usr/lib/gtk-2*/2*/immodules/) \ |
pascal@13358 | 25 $CONFIGURE_ARGS && |
pascal@13358 | 26 make && make -k DESTDIR=$DESTDIR install |
pascal@13358 | 27 } |
pascal@13358 | 28 |
pascal@13358 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13358 | 30 genpkg_rules() |
pascal@13358 | 31 { |
pascal@13358 | 32 cp -a $install/* $fs |
pascal@13358 | 33 rm -rf $install/usr/include |
pascal@13358 | 34 rm -rf $install/usr/lib/pkgconfig |
pascal@13358 | 35 rm -rf $install/usr/share/gtk-doc |
pascal@13358 | 36 find $install/usr/lib | grep 'a$' | xargs rm -f |
pascal@13358 | 37 } |