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