wok-current annotate leocad-pieces/receipt @ rev 6823

Add fftw: mv from undigest
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:04:01 2010 -0400 (2010-10-19)
parents e3a098f25f0b
children 540d8dcbfb24
rev   line source
rcx@3709 1 # SliTaz package receipt.
rcx@3709 2
rcx@3709 3 PACKAGE="leocad-pieces"
rcx@6006 4 VERSION="3934"
rcx@3709 5 CATEGORY="games"
rcx@3709 6 SHORT_DESC="Pieces library for LeoCAD."
rcx@3709 7 MAINTAINER="rcx@zoominternet.net"
rcx@3709 8 DEPENDS=""
rcx@3709 9 BUILD_DEPENDS=""
rcx@3709 10 TARBALL="pieces-$VERSION.zip"
rcx@3709 11 WEB_SITE="http://www.leocad.org/"
rcx@6006 12 WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
rcx@3709 13
rcx@3709 14 # Rules to configure and make the package.
rcx@3709 15 compile_rules()
rcx@3709 16 {
rcx@3709 17 # Move to the standard $src directory if it does not already exist
rcx@3709 18 if [ ! -d "$src" ] ; then
rcx@3709 19 mkdir -p $src/leocad
rcx@3709 20 mv pieces.* textures.* sysfont.* $src/leocad
rcx@3709 21 fi
rcx@3709 22
rcx@3709 23 if [ -d "$src/_pkg" ] ; then rm -r $src/_pkg ; fi
rcx@3709 24 mkdir -p $src/_pkg/usr/share/leocad
rcx@3709 25 cp -dp $src/leocad/* $src/_pkg/usr/share/leocad
rcx@3709 26 cd $src
rcx@3709 27 }
rcx@3709 28
rcx@3709 29 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3709 30 genpkg_rules()
rcx@3709 31 {
rcx@3709 32 mkdir -p $fs
rcx@3709 33 cp -a $_pkg/* $fs
rcx@3709 34 }