wok-next annotate leocad/receipt @ rev 10868

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