wok-current view gtkballs/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents 8b79c3ee7ac2
children af8d823a3077
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --bindir=/usr/games \
24 --localstatedir=/var/games \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps
35 cp -a $install/usr/games $fs/usr
36 # Themes
37 #cp -a $install/usr/share/gtkballs/themes/Default \
38 # $fs/usr/share/gtkballs/themes
39 cp -a $install/usr/share/gtkballs/themes/klines \
40 $fs/usr/share/gtkballs/themes/Default
41 cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default
42 # Pixmaps
43 cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \
44 $fs/usr/share/pixmaps/gtkballs.png
45 cp -a $install/var $fs
46 chmod 666 $fs/var/games/gtkballs-scores
47 }