wok-current view xgalaga/receipt @ rev 18252

Add some lang packages for tesseract-ocr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 03 16:02:13 2015 +0200 (2015-08-03)
parents a2f46addb1eb
children 86790a278e70
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 }