wok-6.x annotate gtkballs/receipt @ rev 23626

created recipe for ruby-native-package-installer
author Hans-G?nter Theisgen
date Thu Apr 16 07:59:09 2020 +0100 (2020-04-16)
parents 8b79c3ee7ac2
children af8d823a3077
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@15589 8 LICENSE="GPL2"
pankso@291 9 SUGGESTED="gtkballs-themes"
pankso@291 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@291 11 WEB_SITE="http://gtkballs.antex.ru/"
pankso@291 12 WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL"
pankso@291 13
pascal@15589 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@15589 15 BUILD_DEPENDS="gtk+-dev"
pascal@15589 16
pankso@291 17 # Rules to configure and make the package.
pankso@291 18 compile_rules()
pankso@291 19 {
pankso@291 20 cd $src
pankso@291 21 ./configure \
pankso@291 22 --prefix=/usr \
pankso@291 23 --bindir=/usr/games \
pankso@291 24 --localstatedir=/var/games \
pankso@291 25 --mandir=/usr/share/man \
pascal@2516 26 $CONFIGURE_ARGS &&
pascal@2516 27 make &&
pascal@15589 28 make DESTDIR=$DESTDIR install
pankso@291 29 }
pankso@291 30
pankso@291 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@291 32 genpkg_rules()
pankso@291 33 {
pankso@291 34 mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps
pascal@15589 35 cp -a $install/usr/games $fs/usr
pankso@291 36 # Themes
pascal@15589 37 #cp -a $install/usr/share/gtkballs/themes/Default \
pankso@291 38 # $fs/usr/share/gtkballs/themes
pascal@15589 39 cp -a $install/usr/share/gtkballs/themes/klines \
pankso@291 40 $fs/usr/share/gtkballs/themes/Default
pankso@291 41 cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default
pankso@291 42 # Pixmaps
pascal@15589 43 cp -a $install/usr/share/gtkballs/gtkballs_16x16.png \
pankso@291 44 $fs/usr/share/pixmaps/gtkballs.png
pascal@15589 45 cp -a $install/var $fs
pankso@291 46 chmod 666 $fs/var/games/gtkballs-scores
pankso@291 47 }
pankso@291 48