wok-current view leocad-pieces/receipt @ rev 8079

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