wok rev 17342

Add xgalaga
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 06 11:33:11 2014 +0100 (2014-11-06)
parents c9499ac8ab20
children 494aab716109
files xgalaga/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xgalaga/receipt	Thu Nov 06 11:33:11 2014 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xgalaga"
     1.7 +VERSION="2.1.1.0"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="A clone of the classic game Galaga for the X Window System."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://sourceforge.net/projects/xgalaga/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="xorg-libX11 xorg-libXmu xorg-libXt xorg-libXext xorg-libXpm libxcb \
    1.17 +xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid"
    1.18 +BUILD_DEPENDS="xorg-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir -p $DESTDIR/usr/share/man/man6
    1.24 +	sed -i	-e 's|\$(mandir)|$(DESTDIR)&|' \
    1.25 +		-e 's|@prefix@|/usr/share/xgalaga|' \
    1.26 +		-e 's|@exec_prefix@|/usr/bin|' \
    1.27 +		-e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \
    1.28 +			Makefile.in
    1.29 +	./configure $CONFIGURE_ARGS &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$DESTDIR install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/share
    1.38 +	cp -a $install/usr/share/xgalaga $fs/usr/share
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +}
    1.41 +