wok-stable annotate leocad/receipt @ rev 10200
Up: getmail to 4.20.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 23:05:30 2011 +0000 (2011-05-20) |
parents | 8fdabf52013b |
children | 4934fca68878 |
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" |
rcx@3709 | 8 DEPENDS="glibc-base gcc-lib-base glib libgio expat zlib leocad-pieces \ |
rcx@3709 | 9 gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \ |
rcx@3709 | 10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ |
rcx@3709 | 11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \ |
slaxemulator@9310 | 12 xorg-libXrender mesa libglu-mesa" |
rcx@3709 | 13 BUILD_DEPENDS="" |
slaxemulator@9310 | 14 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@9310 | 15 WEB_SITE="http://code.google.com/p/leocad/" |
rcx@6005 | 16 WGET_URL="http://leocad.googlecode.com/files/$TARBALL" |
rcx@3709 | 17 |
rcx@3709 | 18 # Rules to configure and make the package. |
rcx@3709 | 19 compile_rules() |
rcx@3709 | 20 { |
slaxemulator@9310 | 21 cd $src |
slaxemulator@9310 | 22 make PREFIX="/usr" config && |
slaxemulator@9310 | 23 make && |
slaxemulator@9310 | 24 make install |
pankso@4177 | 25 |
pankso@4177 | 26 mkdir -p $src/_pkg/usr/lib/leocad |
pankso@4177 | 27 |
rcx@3709 | 28 # Create the shell script launcher |
rcx@3709 | 29 mkdir -p _pkg/usr/bin |
rcx@3709 | 30 cat > _pkg/usr/bin/leocad << EOF |
rcx@3709 | 31 #!/bin/sh |
rcx@3709 | 32 |
rcx@3709 | 33 LEOCAD_LIB=/usr/share/leocad \\ |
pankso@4177 | 34 /usr/lib/leocad/leocad |
rcx@3709 | 35 EOF |
rcx@3709 | 36 chmod +x _pkg/usr/bin/leocad |
rcx@3709 | 37 } |
rcx@3709 | 38 |
rcx@3709 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3709 | 40 genpkg_rules() |
rcx@3709 | 41 { |
rcx@3709 | 42 mkdir -p $fs |
rcx@3709 | 43 cp -a $_pkg/* $fs |
slaxemulator@9310 | 44 |
rcx@3709 | 45 } |