wok diff leocad-pieces/receipt @ rev 5986

h8300-gdb: upgrade from 6.8 to 7.1
author Matthew Sheets <rcx@zoominternet.net>
date Sat Aug 14 00:26:30 2010 +0000 (2010-08-14)
parents
children 1c3a87dcc4ac
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/leocad-pieces/receipt	Sat Aug 14 00:26:30 2010 +0000
     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 +}