wok-stable view gtkballs/receipt @ rev 6095

clucene add TAGS
author Dominique Corbex <domcox@slitaz.org>
date Mon Aug 30 22:01:20 2010 +0200 (2010-08-30)
parents 7ceb93094fe3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkballs"
4 VERSION="3.1.5"
5 CATEGORY="games"
6 SHORT_DESC="Clone of DOS Lines."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev"
10 SUGGESTED="gtkballs-themes"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://gtkballs.antex.ru/"
13 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --bindir=/usr/games \
22 --localstatedir=/var/games \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/games $fs/usr
34 # Themes
35 #cp -a $_pkg/usr/share/gtkballs/themes/Default \
36 # $fs/usr/share/gtkballs/themes
37 cp -a $_pkg/usr/share/gtkballs/themes/klines \
38 $fs/usr/share/gtkballs/themes/Default
39 cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default
40 # Pixmaps
41 cp -a $_pkg/usr/share/gtkballs/gtkballs_16x16.png \
42 $fs/usr/share/pixmaps/gtkballs.png
43 cp -a $_pkg/var $fs
44 chmod 666 $fs/var/games/gtkballs-scores
45 }