wok-6.x annotate terminal/receipt @ rev 10352

bash: make it cross compile!
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:38:05 2011 +0200 (2011-05-22)
parents ffa7363d2338
children 73641efed1cc
rev   line source
erjo@4144 1 # SliTaz package receipt.
erjo@4144 2
erjo@4144 3 PACKAGE="terminal"
slaxemulator@8279 4 VERSION="0.4.6"
erjo@4144 5 CATEGORY="x-window"
erjo@4144 6 SHORT_DESC="Terminal emunaltor for Xfce Desktop Environment"
erjo@4144 7 MAINTAINER="erjo@slitaz.org"
erjo@4144 8 DEPENDS="libexo vte startup-notification dbus"
slaxemulator@7688 9 BUILD_DEPENDS="libexo-dev gtk+-dev vte-dev dbus-dev startup-notification-dev intltool pkg-config util-linux-ng-uuid-dev"
erjo@4144 10 SOURCE="Terminal"
erjo@4144 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@4144 12 WEB_SITE="http://www.xfce.org/"
slaxemulator@7688 13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
jozee@4973 14 TAGS="terminal"
erjo@4144 15
erjo@4144 16 # Rules to configure and make the package.
erjo@4144 17 compile_rules()
erjo@4144 18 {
erjo@4144 19 cd $src
erjo@4144 20 ./configure --prefix=/usr --infodir=/usr/share/info \
slaxemulator@7688 21 --mandir=/usr/share/man --libexecdir=/usr/lib/xfce4 \
slaxemulator@7688 22 --disable-static $CONFIGURE_ARGS && \
erjo@4144 23 make && make DESTDIR=$PWD/_pkg install
erjo@4144 24 }
erjo@4144 25
erjo@4144 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4144 27 genpkg_rules()
erjo@4144 28 {
erjo@4144 29 mkdir -p $fs/usr/share/locale
erjo@4144 30
erjo@4144 31 cp -a $_pkg/usr/bin $fs/usr
erjo@4144 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4144 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@4144 34 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@4144 35 }
erjo@4144 36