wok diff leocad-pieces/receipt @ rev 4901

tazbb: report flavor more verbose (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 11 11:35:30 2010 +0100 (2010-02-11)
parents
children 1c3a87dcc4ac
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/leocad-pieces/receipt	Thu Feb 11 11:35:30 2010 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="leocad-pieces"
     1.7 +VERSION="2907"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Pieces library for LeoCAD."
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS=""
    1.13 +TARBALL="pieces-$VERSION.zip"
    1.14 +WEB_SITE="http://www.leocad.org/"
    1.15 +WGET_URL="http://www.leocad.org/files/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	# Move to the standard $src directory if it does not already exist
    1.21 +	if [ ! -d "$src" ] ; then
    1.22 +		mkdir -p $src/leocad
    1.23 +		mv pieces.* textures.* sysfont.* $src/leocad
    1.24 +	fi
    1.25 +	
    1.26 +	if [ -d "$src/_pkg" ] ; then rm -r $src/_pkg ; fi
    1.27 +	mkdir -p $src/_pkg/usr/share/leocad
    1.28 +	cp -dp $src/leocad/* $src/_pkg/usr/share/leocad
    1.29 +	cd $src
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs
    1.36 +	cp -a $_pkg/* $fs
    1.37 +}