wok view tilda/receipt @ rev 9172

tcc-common: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 08 18:01:32 2011 +0100 (2011-03-08)
parents e5b54d4194ad
children 8422d231d35b
line source
1 # SliTaz package receipt.
3 PACKAGE="tilda"
4 VERSION="0.9.6"
5 CATEGORY="utilities"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Linux terminal based on classic terminals from first person shooter games."
8 WEB_SITE="http://tilda.sourceforge.net"
9 DEPENDS="vte libconfuse libglade"
10 BUILD_DEPENDS="flex"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="terminal"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/applications/
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
29 cp -a $_pkg/usr/share/tilda.glade $fs/usr/share
30 # Apply modified .desktop file to suit SliTaz.
31 cp -a stuff/tilda.desktop $fs/usr/share/applications/
32 }