wok-current annotate tilda/receipt @ rev 4585
Add tilda (thanks chompa)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu Dec 10 13:18:57 2009 +0000 (2009-12-10) |
parents | |
children | c0f153842dee |
rev | line source |
---|---|
jozee@4585 | 1 # SliTaz package receipt. |
jozee@4585 | 2 |
jozee@4585 | 3 PACKAGE="tilda" |
jozee@4585 | 4 VERSION="0.9.6" |
jozee@4585 | 5 CATEGORY="utilities" |
jozee@4585 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4585 | 7 SHORT_DESC="Linux terminal based on classic terminals from first person shooter games." |
jozee@4585 | 8 WEB_SITE="http://tilda.sourceforge.net" |
jozee@4585 | 9 DEPENDS="vte libconfuse libglade" |
jozee@4585 | 10 BUILD_DEPENDS="gawk vte vte-dev libglade-dev libconfuse pkg-config \ |
jozee@4585 | 11 glib glib-dev gtk+-dev pango-dev cairo-dev freetype-dev fontconfig-dev \ |
jozee@4585 | 12 libpng-dev atk-dev libgio-dev libxml2-dev xorg-libXrandr-dev \ |
jozee@4585 | 13 xorg-xrandr xorg-randrproto" |
jozee@4585 | 14 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4585 | 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4585 | 16 TAGS="terminal" |
jozee@4585 | 17 |
jozee@4585 | 18 |
jozee@4585 | 19 # Rules to configure and make the package. |
jozee@4585 | 20 compile_rules() |
jozee@4585 | 21 { |
jozee@4585 | 22 cd $src |
jozee@4585 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
jozee@4585 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && |
jozee@4585 | 25 make && |
jozee@4585 | 26 make DESTDIR=$PWD/_pkg install |
jozee@4585 | 27 } |
jozee@4585 | 28 |
jozee@4585 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4585 | 30 genpkg_rules() |
jozee@4585 | 31 { |
jozee@4585 | 32 mkdir -p $fs/usr/share/$PACKAGE/ $fs/usr/share/applications/ |
jozee@4585 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@4585 | 34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
jozee@4585 | 35 cp -a $_pkg/usr/share/tilda.glade $fs/usr/share/$PACKAGE |
jozee@4585 | 36 # Apply modified .desktop file to suit SliTaz. |
jozee@4585 | 37 cp -a stuff/tilda.desktop $fs/usr/share/applications/ |
jozee@4585 | 38 } |