wok-6.x annotate leocad/receipt @ rev 11732
xterm + leafpad: no extension for icons and use a nice icon for xterm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 21 20:45:11 2012 +0100 (2012-02-21) |
parents | 4934fca68878 |
children | f66acd3122e3 |
rev | line source |
---|---|
rcx@3709 | 1 # SliTaz package receipt. |
rcx@3709 | 2 |
rcx@3709 | 3 PACKAGE="leocad" |
slaxemulator@11194 | 4 VERSION="0.75.2" |
rcx@3709 | 5 CATEGORY="games" |
rcx@3709 | 6 SHORT_DESC="A CAD program that uses toy bricks." |
rcx@3709 | 7 MAINTAINER="rcx@zoominternet.net" |
slaxemulator@11194 | 8 TARBALL="$PACKAGE-$VERSION-src.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 } |