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

Up: vorbis-tools (1.4.0)
author Alexander Medvedev <devl547@gmail.com>
date Sun May 30 02:41:49 2010 +0000 (2010-05-30)
parents
children 1c3a87dcc4ac
rev   line source
rcx@3709 1 # SliTaz package receipt.
rcx@3709 2
rcx@3709 3 PACKAGE="leocad-pieces"
rcx@3709 4 VERSION="2907"
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@3709 12 WGET_URL="http://www.leocad.org/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 }