wok-4.x view leocad-pieces/receipt @ rev 9300
get-flash-plugin: use busybox wget
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 17 16:20:37 2011 +0100 (2011-03-17) |
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 }