wok-stable annotate gtkballs/receipt @ rev 12246

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