wok-6.x annotate leocad/receipt @ rev 5520
php: enable curl in compile options
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 10 12:38:42 2010 -0400 (2010-05-10) |
parents | e3a098f25f0b |
children | 8fdabf52013b |
rev | line source |
---|---|
rcx@3709 | 1 # SliTaz package receipt. |
rcx@3709 | 2 |
rcx@3709 | 3 PACKAGE="leocad" |
rcx@3709 | 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 \ |
rcx@3709 | 12 xorg-libXrender" |
rcx@3709 | 13 BUILD_DEPENDS="" |
rcx@3709 | 14 TARBALL="$PACKAGE-$VERSION.i386.rpm" |
rcx@3709 | 15 WEB_SITE="http://www.leocad.org/" |
rcx@3709 | 16 WGET_URL="http://www.leocad.org/files/$TARBALL" |
rcx@3709 | 17 |
rcx@3709 | 18 # Rules to configure and make the package. |
rcx@3709 | 19 compile_rules() |
rcx@3709 | 20 { |
rcx@3709 | 21 echo " ** Ignoring Extract Error **" |
pankso@4177 | 22 |
pankso@4177 | 23 mkdir -p $src/_pkg/usr/lib/leocad |
rcx@3709 | 24 cp -a stuff/share $src/_pkg/usr |
pankso@4177 | 25 |
rcx@3709 | 26 cd $src |
rcx@3709 | 27 |
rcx@3709 | 28 # Extract the rpm |
rcx@3709 | 29 rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv |
rcx@3709 | 30 |
pankso@4177 | 31 cp -a usr/local/bin/leocad _pkg/usr/lib/leocad |
pankso@4177 | 32 |
rcx@3709 | 33 # Create the shell script launcher |
rcx@3709 | 34 mkdir -p _pkg/usr/bin |
rcx@3709 | 35 cat > _pkg/usr/bin/leocad << EOF |
rcx@3709 | 36 #!/bin/sh |
rcx@3709 | 37 |
rcx@3709 | 38 LEOCAD_LIB=/usr/share/leocad \\ |
pankso@4177 | 39 /usr/lib/leocad/leocad |
rcx@3709 | 40 EOF |
rcx@3709 | 41 chmod +x _pkg/usr/bin/leocad |
rcx@3709 | 42 } |
rcx@3709 | 43 |
rcx@3709 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3709 | 45 genpkg_rules() |
rcx@3709 | 46 { |
rcx@3709 | 47 mkdir -p $fs |
rcx@3709 | 48 cp -a $_pkg/* $fs |
rcx@3709 | 49 } |