wok-next annotate xgalaga/receipt @ rev 17342
Add xgalaga
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 06 11:33:11 2014 +0100 (2014-11-06) |
parents | |
children | 5b063a7e40ae |
rev | line source |
---|---|
pascal@17342 | 1 # SliTaz package receipt. |
pascal@17342 | 2 |
pascal@17342 | 3 PACKAGE="xgalaga" |
pascal@17342 | 4 VERSION="2.1.1.0" |
pascal@17342 | 5 CATEGORY="games" |
pascal@17342 | 6 SHORT_DESC="A clone of the classic game Galaga for the X Window System." |
pascal@17342 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17342 | 8 LICENSE="GPL2" |
pascal@17342 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17342 | 10 WEB_SITE="http://sourceforge.net/projects/xgalaga/" |
pascal@17342 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@17342 | 12 |
pascal@17342 | 13 DEPENDS="xorg-libX11 xorg-libXmu xorg-libXt xorg-libXext xorg-libXpm libxcb \ |
pascal@17342 | 14 xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid" |
pascal@17342 | 15 BUILD_DEPENDS="xorg-dev" |
pascal@17342 | 16 |
pascal@17342 | 17 # Rules to configure and make the package. |
pascal@17342 | 18 compile_rules() |
pascal@17342 | 19 { |
pascal@17342 | 20 mkdir -p $DESTDIR/usr/share/man/man6 |
pascal@17342 | 21 sed -i -e 's|\$(mandir)|$(DESTDIR)&|' \ |
pascal@17342 | 22 -e 's|@prefix@|/usr/share/xgalaga|' \ |
pascal@17342 | 23 -e 's|@exec_prefix@|/usr/bin|' \ |
pascal@17342 | 24 -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \ |
pascal@17342 | 25 Makefile.in |
pascal@17342 | 26 ./configure $CONFIGURE_ARGS && |
pascal@17342 | 27 make && |
pascal@17342 | 28 make DESTDIR=$DESTDIR install |
pascal@17342 | 29 } |
pascal@17342 | 30 |
pascal@17342 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17342 | 32 genpkg_rules() |
pascal@17342 | 33 { |
pascal@17342 | 34 mkdir -p $fs/usr/share |
pascal@17342 | 35 cp -a $install/usr/share/xgalaga $fs/usr/share |
pascal@17342 | 36 cp -a $install/usr/bin $fs/usr |
pascal@17342 | 37 } |
pascal@17342 | 38 |