wok-6.x diff gtkballs/receipt @ rev 1137
Fix post_install for subdir install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 12:27:06 2008 +0000 (2008-07-24) |
parents | |
children | 8b79c3ee7ac2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gtkballs/receipt Thu Jul 24 12:27:06 2008 +0000 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gtkballs" 1.7 +VERSION="3.1.5" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Clone of DOS Lines." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+" 1.12 +BUILD_DEPENDS="gtk+-dev" 1.13 +SUGGESTED="gtkballs-themes" 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WEB_SITE="http://gtkballs.antex.ru/" 1.16 +WGET_URL="http://gtkballs.antex.ru/dist/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure \ 1.23 + --prefix=/usr \ 1.24 + --bindir=/usr/games \ 1.25 + --localstatedir=/var/games \ 1.26 + --mandir=/usr/share/man \ 1.27 + $CONFIGURE_ARGS 1.28 + make 1.29 + make DESTDIR=$PWD/_pkg install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/share/gtkballs/themes $fs/usr/share/pixmaps 1.36 + cp -a $_pkg/usr/games $fs/usr 1.37 + # Themes 1.38 + #cp -a $_pkg/usr/share/gtkballs/themes/Default \ 1.39 + # $fs/usr/share/gtkballs/themes 1.40 + cp -a $_pkg/usr/share/gtkballs/themes/klines \ 1.41 + $fs/usr/share/gtkballs/themes/Default 1.42 + cp -a stuff/cell.xpm $fs/usr/share/gtkballs/themes/Default 1.43 + # Pixmaps 1.44 + cp -a $_pkg/usr/share/gtkballs/gtkballs_16x16.png \ 1.45 + $fs/usr/share/pixmaps/gtkballs.png 1.46 + cp -a $_pkg/var $fs 1.47 + chmod 666 $fs/var/games/gtkballs-scores 1.48 +} 1.49 +