wok-4.x diff leocad-pieces/receipt @ rev 9310

Up: leocad to 0.75.1. Now using source code. Fixed leocad-pieces also.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 18:56:00 2011 +0000 (2011-03-17)
parents 1c3a87dcc4ac
children 6a610252cd65
line diff
     1.1 --- a/leocad-pieces/receipt	Sat Aug 14 16:16:44 2010 +0000
     1.2 +++ b/leocad-pieces/receipt	Thu Mar 17 18:56:00 2011 +0000
     1.3 @@ -5,8 +5,6 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="Pieces library for LeoCAD."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS=""
     1.8 -BUILD_DEPENDS=""
     1.9  TARBALL="pieces-$VERSION.zip"
    1.10  WEB_SITE="http://www.leocad.org/"
    1.11  WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
    1.12 @@ -14,16 +12,8 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	# Move to the standard $src directory if it does not already exist
    1.17 -	if [ ! -d "$src" ] ; then
    1.18 -		mkdir -p $src/leocad
    1.19 -		mv pieces.* textures.* sysfont.* $src/leocad
    1.20 -	fi
    1.21 -	
    1.22 -	if [ -d "$src/_pkg" ] ; then rm -r $src/_pkg ; fi
    1.23 -	mkdir -p $src/_pkg/usr/share/leocad
    1.24 -	cp -dp $src/leocad/* $src/_pkg/usr/share/leocad
    1.25 -	cd $src
    1.26 +	mkdir -p $DESTDIR/usr/share/leocad
    1.27 +	cp -dp $src/* $DESTDIR/usr/share/leocad
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.