wok view leocad/receipt @ rev 14908
slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 03 17:37:48 2013 +0300 (2013-08-03) |
parents | 678455567f02 |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leocad"
4 VERSION="0.76.2"
5 CATEGORY="games"
6 SHORT_DESC="A CAD program that uses toy bricks."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION-src.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 gtk+-dev glib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11 -ldl"
24 make PREFIX="/usr" config &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/leocad \
32 $fs/usr/bin
34 # Create the shell script launcher
35 cat > $fs/usr/bin/leocad << EOF
36 #!/bin/sh
37 LEOCAD_LIB=/usr/share/leocad \\
38 /usr/lib/leocad/leocad
39 EOF
41 chmod +x $fs/usr/bin/leocad
42 cp -a $install/* $fs
43 }