wok view leocad/receipt @ rev 7325
Up: librsvg-apps to 2.32.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 18 12:06:33 2010 +0000 (2010-11-18) |
parents | 7e78fc2f2598 |
children | 540d8dcbfb24 |
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 DEPENDS="glibc-base gcc-lib-base glib libgio expat zlib leocad-pieces \
9 gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \
10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \
12 xorg-libXrender"
13 BUILD_DEPENDS=""
14 TARBALL="$PACKAGE-$VERSION.i386.rpm"
15 WEB_SITE="http://www.leocad.org/"
16 WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 echo " ** Ignoring Extract Error **"
23 mkdir -p $src/_pkg/usr/lib/leocad
24 cp -a stuff/share $src/_pkg/usr
26 cd $src
28 # Extract the rpm
29 rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv
31 cp -a usr/local/bin/leocad _pkg/usr/lib/leocad
33 # Create the shell script launcher
34 mkdir -p _pkg/usr/bin
35 cat > _pkg/usr/bin/leocad << EOF
36 #!/bin/sh
38 LEOCAD_LIB=/usr/share/leocad \\
39 /usr/lib/leocad/leocad
40 EOF
41 chmod +x _pkg/usr/bin/leocad
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs
48 cp -a $_pkg/* $fs
49 }