wok view gtkballs/receipt @ rev 5559
dillo-hg, libffcall, v4l-dvb: cache fetched files in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 10:35:21 2010 +0200 (2010-05-14) |
parents | 7ceb93094fe3 |
children | d1c17bd2c2bc |
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 }