wok-4.x view leocad-pieces/receipt @ rev 5763

Add linphone
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 13:05:15 2010 +0200 (2010-07-05)
parents
children 1c3a87dcc4ac
line source
1 # SliTaz package receipt.
3 PACKAGE="leocad-pieces"
4 VERSION="2907"
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://www.leocad.org/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 }