wok-next view xgalaga/receipt @ rev 19591
Up dialog (1.3-20160828).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 21 15:37:43 2017 +0200 (2017-01-21) |
parents | a2f46addb1eb |
children | 7639f09792cf |
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 sed -i -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \
28 -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \
29 -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \
30 -e 's|/usr/scores|/var/games/xgalaga/scores|' \
31 config.h
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores
40 cp -a $install/usr/share/xgalaga $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 cp $stuff/*.desktop $fs/usr/share/applications
43 }