wok diff leocad/receipt @ rev 3799

Upgrade: lxpanel (0.3.8.1 to 0.5.1)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Aug 03 14:27:24 2009 +0000 (2009-08-03)
parents
children 7e78fc2f2598
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/leocad/receipt	Mon Aug 03 14:27:24 2009 +0000
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="leocad"
     1.7 +VERSION="0.75-1"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="A CAD program that uses toy bricks."
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +DEPENDS="glibc-base gcc-lib-base glib libgio expat zlib leocad-pieces \
    1.12 +gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \
    1.13 +xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
    1.14 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \
    1.15 +xorg-libXrender"
    1.16 +BUILD_DEPENDS=""
    1.17 +TARBALL="$PACKAGE-$VERSION.i386.rpm"
    1.18 +WEB_SITE="http://www.leocad.org/"
    1.19 +WGET_URL="http://www.leocad.org/files/$TARBALL"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	echo " ** Ignoring Extract Error **"
    1.25 +	
    1.26 +	mkdir -p $src/_pkg/usr/libexec
    1.27 +	cp -a stuff/share $src/_pkg/usr
    1.28 +	
    1.29 +	cd $src
    1.30 +
    1.31 +	# Extract the rpm
    1.32 +	rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv
    1.33 +
    1.34 +	cp -a usr/local/bin/leocad _pkg/usr/libexec
    1.35 +	
    1.36 +	# Create the shell script launcher
    1.37 +	mkdir -p _pkg/usr/bin
    1.38 +	cat > _pkg/usr/bin/leocad << EOF
    1.39 +#!/bin/sh
    1.40 +
    1.41 +LEOCAD_LIB=/usr/share/leocad \\
    1.42 +/usr/libexec/leocad
    1.43 +EOF
    1.44 +	chmod +x _pkg/usr/bin/leocad
    1.45 +}
    1.46 +
    1.47 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.48 +genpkg_rules()
    1.49 +{
    1.50 +	mkdir -p $fs
    1.51 +	cp -a $_pkg/* $fs
    1.52 +}