wok-next view leocad/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents dd145c435e4b
children a3c581bf52b8
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-src.tgz"
10 WEB_SITE="http://code.google.com/p/leocad/"
11 WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
13 DEPENDS="glibc-base gcc-lib-base glib expat zlib leocad-pieces \
14 gtk+ atk cairo xorg-pixman pango jpeg libpng16 fontconfig freetype xorg-libxcb xorg-xcb-util \
15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \
17 xorg-libXrender mesa glu"
18 BUILD_DEPENDS="mesa-dev gtk+-dev glib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11 -ldl"
25 make PREFIX="/usr" config &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/leocad \
33 $fs/usr/bin
35 # Create the shell script launcher
36 cat > $fs/usr/bin/leocad << EOF
37 #!/bin/sh
38 LEOCAD_LIB=/usr/share/leocad \\
39 /usr/lib/leocad/leocad
40 EOF
42 chmod +x $fs/usr/bin/leocad
43 cp -a $install/* $fs
44 }