wok-current annotate leocad/receipt @ rev 8364
glpi: fix CONFIG_FILES remove config_db_slave.php. doesn't exist
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Feb 04 00:56:21 2011 +0100 (2011-02-04) |
parents | 7e78fc2f2598 |
children | 540d8dcbfb24 |
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@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 { |
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 } |