wok-4.x view gtkballs/receipt @ rev 2376

rt2860sta: patch config.mk (enable wpa and EeePC extra
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 07 21:22:58 2009 +0100 (2009-03-07)
parents
children 8b79c3ee7ac2
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+"
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 }