wok-next view xgalaga/receipt @ rev 20909
Update homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 13 00:47:17 2018 +0300 (2018-08-13) |
parents | 81b782d36618 |
children | d5aab818505e |
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="https://sourceforge.net/projects/xgalaga/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
12 HOST_ARCH="i486"
14 DEPENDS="xorg-libX11 xorg-libXmu xorg-libXt xorg-libXext xorg-libXpm xorg-libxcb \
15 xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid"
16 BUILD_DEPENDS="xorg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p $DESTDIR/usr/share/man/man6
22 sed -i -e 's|\$(mandir)|$(DESTDIR)&|' \
23 -e 's|@prefix@|/usr/share/xgalaga|' \
24 -e 's|@exec_prefix@|/usr/bin|' \
25 -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \
26 Makefile.in
27 ./configure $CONFIGURE_ARGS
28 sed -i -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \
29 -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \
30 -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \
31 -e 's|/usr/scores|/var/games/xgalaga/scores|' \
32 config.h
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores
41 cp -a $install/usr/share/xgalaga $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp $stuff/*.desktop $fs/usr/share/applications
44 }