wok view kobodeluxe/receipt @ rev 1625

get-texlive add perl to DEPEND, ask user to confirm installation
author Pierre-Jean Fichet <sygne@ombres.eu>
date Thu Oct 23 20:14:35 2008 +0000 (2008-10-23)
parents
children c6f726ea3fd3
line source
1 # SliTaz package receipt.
3 # TODO : Regularly check if the install script automatically
4 # installs the pixmap and the .desktop file. Then remove the
5 # part in genpkg_rules() where it's done manually.
7 PACKAGE="kobodeluxe"
8 SOURCE="KoboDeluxe"
9 VERSION="0.5.1"
10 CATEGORY="games"
11 SHORT_DESC="Kobo Deluxe is a third person scrolling 2D shooter game."
12 MAINTAINER="chadi.elahmad@gmail.com"
14 TARBALL="$SOURCE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.olofson.net/kobodl"
16 WGET_URL="http://www.olofson.net/kobodl/download/$TARBALL"
18 DEPENDS="libSDL libsdl-image "
19 BUILD_DEPENDS="libSDL-dev libsdl-image-dev "
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --infodir=/usr/share/info \
29 $CONFIGURE_ARGS
30 make
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 # manually moving the pixmap and the .desktop
38 mkdir -p $_pkg/usr/share/pixmaps
39 mkdir -p $_pkg/usr/share/applications
40 tar xvf $src/icons.tar.gz -C $src
41 cp -a $src/icons/Ubuntu/*.xpm $_pkg/usr/share/pixmaps
42 cp -a $src/icons/Ubuntu/*.desktop $_pkg/usr/share/applications
44 mkdir -p $fs/usr
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/share $fs/usr/share
47 }