wok view xgalaga/receipt @ rev 21427

updated mediainfo and mediainfo-gui (0.7.79 -> 19.04)
author Hans-G?nter Theisgen
date Thu Apr 25 17:54:21 2019 +0100 (2019-04-25)
parents 5b063a7e40ae
children ad86373a4a8c
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"
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 }