wok-next diff xgalaga/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 7506b35e1c6f |
children | 5669e8b3be70 |
line diff
1.1 --- a/xgalaga/receipt Mon Aug 13 00:47:17 2018 +0300 1.2 +++ b/xgalaga/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,43 +3,40 @@ 1.4 PACKAGE="xgalaga" 1.5 VERSION="2.1.1.0" 1.6 CATEGORY="games" 1.7 -SHORT_DESC="A clone of the classic game Galaga for the X Window System." 1.8 +SHORT_DESC="A clone of the classic game Galaga for the X Window System" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 WEB_SITE="https://sourceforge.net/projects/xgalaga/" 1.13 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 1.14 HOST_ARCH="i486" 1.15 1.16 -DEPENDS="xorg-libX11 xorg-libXmu xorg-libXt xorg-libXext xorg-libXpm xorg-libxcb \ 1.17 -xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid" 1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.20 + 1.21 BUILD_DEPENDS="xorg-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - mkdir -p $DESTDIR/usr/share/man/man6 1.27 +compile_rules() { 1.28 + mkdir -p $install/usr/share/man/man6 1.29 sed -i -e 's|\$(mandir)|$(DESTDIR)&|' \ 1.30 -e 's|@prefix@|/usr/share/xgalaga|' \ 1.31 -e 's|@exec_prefix@|/usr/bin|' \ 1.32 -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \ 1.33 Makefile.in 1.34 ./configure $CONFIGURE_ARGS 1.35 - sed -i -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \ 1.36 + sed \ 1.37 + -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \ 1.38 -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \ 1.39 -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \ 1.40 -e 's|/usr/scores|/var/games/xgalaga/scores|' \ 1.41 - config.h 1.42 + -i config.h 1.43 make && 1.44 - make DESTDIR=$DESTDIR install 1.45 + make DESTDIR=$install install 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 +genpkg_rules() { 1.52 mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores 1.53 cp -a $install/usr/share/xgalaga $fs/usr/share 1.54 cp -a $install/usr/bin $fs/usr 1.55 cp $stuff/*.desktop $fs/usr/share/applications 1.56 + DEPENDS="xorg-libX11 xorg-libXmu xorg-libXt xorg-libXext xorg-libXpm \ 1.57 + xorg-libxcb xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid" 1.58 } 1.59 -