wok-next annotate kobodeluxe/receipt @ rev 1136

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