wok view leocad/receipt @ rev 9635

busybox: remove .desktop files covered by tazpanel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 26 19:06:48 2011 +0200 (2011-04-26)
parents 8fdabf52013b
children 4934fca68878
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 mesa libglu-mesa"
13 BUILD_DEPENDS=""
14 TARBALL="$PACKAGE-$VERSION.tgz"
15 WEB_SITE="http://code.google.com/p/leocad/"
16 WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 make PREFIX="/usr" config &&
23 make &&
24 make install
26 mkdir -p $src/_pkg/usr/lib/leocad
28 # Create the shell script launcher
29 mkdir -p _pkg/usr/bin
30 cat > _pkg/usr/bin/leocad << EOF
31 #!/bin/sh
33 LEOCAD_LIB=/usr/share/leocad \\
34 /usr/lib/leocad/leocad
35 EOF
36 chmod +x _pkg/usr/bin/leocad
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs
43 cp -a $_pkg/* $fs
45 }