wok-6.x view gtkballs/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | d1c17bd2c2bc |
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 LICENSE="GPL2"
9 SUGGESTED="gtkballs-themes"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://gtkballs.antex.ru/"
12 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed 's|>|>\n|g' | sed '/^gtkballs-/!d;/tar/!d;s|gtkballs-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --bindir=/usr/games \
31 --localstatedir=/var/games \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps
42 cp -a $install/usr/games $fs/usr
43 # Themes
44 #cp -a $install/usr/share/gtkballs/themes/Default \
45 # $fs/usr/share/gtkballs/themes
46 cp -a $install/usr/share/gtkballs/themes/klines \
47 $fs/usr/share/gtkballs/themes/Default
48 cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default
49 # Pixmaps
50 cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \
51 $fs/usr/share/pixmaps/gtkballs.png
52 cp -a $install/var $fs
53 chmod 666 $fs/var/games/gtkballs-scores
54 }