wok-current diff kobodeluxe/receipt @ rev 1357

Add: BoxBackup automatic on-line backup system
author Dominique Corbex <domcox@users.sourceforge.net>
date Tue Sep 09 22:18:22 2008 +0200 (2008-09-09)
parents
children c6f726ea3fd3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kobodeluxe/receipt	Tue Sep 09 22:18:22 2008 +0200
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +# TODO : Regularly check if the install script automatically
     1.7 +# installs the pixmap and the .desktop file. Then remove the
     1.8 +# part in genpkg_rules() where it's done manually.
     1.9 +
    1.10 +PACKAGE="kobodeluxe"
    1.11 +SOURCE="KoboDeluxe"
    1.12 +VERSION="0.5.1"
    1.13 +CATEGORY="games"
    1.14 +SHORT_DESC="Kobo Deluxe is a third person scrolling 2D shooter game."
    1.15 +MAINTAINER="chadi.elahmad@gmail.com"
    1.16 +
    1.17 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.18 +WEB_SITE="http://www.olofson.net/kobodl"
    1.19 +WGET_URL="http://www.olofson.net/kobodl/download/$TARBALL"
    1.20 +
    1.21 +DEPENDS="libSDL libsdl-image "
    1.22 +BUILD_DEPENDS="libSDL-dev libsdl-image-dev "
    1.23 +
    1.24 +# Rules to configure and make the package.
    1.25 +compile_rules()
    1.26 +{
    1.27 +	cd $src
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--mandir=/usr/share/man \
    1.31 +		--infodir=/usr/share/info \
    1.32 +		$CONFIGURE_ARGS
    1.33 +	make
    1.34 +	make DESTDIR=$PWD/_pkg install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	# manually moving the pixmap and the .desktop
    1.41 +	mkdir -p $_pkg/usr/share/pixmaps
    1.42 +	mkdir -p $_pkg/usr/share/applications
    1.43 +	tar xvf $src/icons.tar.gz -C $src
    1.44 +	cp -a $src/icons/Ubuntu/*.xpm $_pkg/usr/share/pixmaps
    1.45 +	cp -a $src/icons/Ubuntu/*.desktop $_pkg/usr/share/applications
    1.46 +
    1.47 +	mkdir -p $fs/usr
    1.48 +	cp -a $_pkg/usr/bin $fs/usr
    1.49 +	cp -a $_pkg/usr/share $fs/usr/share
    1.50 +}