wok annotate xgalaga/receipt @ rev 20779

updated cellwriter (1.3.5 -> 1.3.6)
author Hans-G?nter Theisgen
date Thu Feb 14 13:52:33 2019 +0100 (2019-02-14)
parents 5b063a7e40ae
children ad86373a4a8c
rev   line source
pascal@17342 1 # SliTaz package receipt.
pascal@17342 2
pascal@17342 3 PACKAGE="xgalaga"
pascal@17342 4 VERSION="2.1.1.0"
pascal@17342 5 CATEGORY="games"
pascal@17342 6 SHORT_DESC="A clone of the classic game Galaga for the X Window System."
pascal@17342 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17342 8 LICENSE="GPL2"
pascal@17342 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20421 10 WEB_SITE="https://sourceforge.net/projects/xgalaga/"
pascal@17342 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@17342 12
pascal@17342 13 DEPENDS="xorg-libX11 xorg-libXmu xorg-libXt xorg-libXext xorg-libXpm libxcb \
pascal@17342 14 xorg-libXau xorg-libXdmcp xorg-libSM xorg-libICE util-linux-uuid"
pascal@17342 15 BUILD_DEPENDS="xorg-dev"
pascal@17342 16
pascal@17342 17 # Rules to configure and make the package.
pascal@17342 18 compile_rules()
pascal@17342 19 {
pascal@17342 20 mkdir -p $DESTDIR/usr/share/man/man6
pascal@17342 21 sed -i -e 's|\$(mandir)|$(DESTDIR)&|' \
pascal@17342 22 -e 's|@prefix@|/usr/share/xgalaga|' \
pascal@17342 23 -e 's|@exec_prefix@|/usr/bin|' \
pascal@17342 24 -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \
pascal@17342 25 Makefile.in
pascal@17345 26 ./configure $CONFIGURE_ARGS
pascal@17345 27 sed -i -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \
pascal@17345 28 -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \
pascal@17345 29 -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \
pascal@17345 30 -e 's|/usr/scores|/var/games/xgalaga/scores|' \
pascal@17345 31 config.h
pascal@17342 32 make &&
pascal@17342 33 make DESTDIR=$DESTDIR install
pascal@17342 34 }
pascal@17342 35
pascal@17342 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17342 37 genpkg_rules()
pascal@17342 38 {
pascal@17345 39 mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores
pascal@17342 40 cp -a $install/usr/share/xgalaga $fs/usr/share
pascal@17342 41 cp -a $install/usr/bin $fs/usr
pascal@17345 42 cp $stuff/*.desktop $fs/usr/share/applications
pascal@17342 43 }
pascal@17342 44