wok-4.x view leocad/receipt @ rev 11192
Up: mercurial to 2.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 03 01:24:32 2011 +0000 (2011-11-03) |
parents | 540d8dcbfb24 |
children | 9a24a8dabd00 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leocad"
4 VERSION="0.75.1"
5 CATEGORY="games"
6 SHORT_DESC="A CAD program that uses toy bricks."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://code.google.com/p/leocad/"
10 WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
12 DEPENDS="glibc-base gcc-lib-base glib libgio expat zlib leocad-pieces \
13 gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \
14 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
15 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \
16 xorg-libXrender mesa libglu-mesa"
17 BUILD_DEPENDS="mesa-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 make PREFIX="/usr" config &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/leocad \
31 $fs/usr/bin
33 # Create the shell script launcher
34 cat > $fs/usr/bin/leocad << EOF
35 #!/bin/sh
36 LEOCAD_LIB=/usr/share/leocad \\
37 /usr/lib/leocad/leocad
38 EOF
39 chmod +x $fs/usr/bin/leocad
40 cp -a $install/* $fs
41 }