wok-6.x diff leocad/receipt @ rev 11026

Up: gsl to 1.15.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 06:36:10 2011 +0000 (2011-10-16)
parents 540d8dcbfb24
children 9a24a8dabd00
line diff
     1.1 --- a/leocad/receipt	Thu Mar 17 18:56:00 2011 +0000
     1.2 +++ b/leocad/receipt	Sun Oct 16 06:36:10 2011 +0000
     1.3 @@ -5,41 +5,37 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="A CAD program that uses toy bricks."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +TARBALL="$PACKAGE-$VERSION.tgz"
     1.8 +WEB_SITE="http://code.google.com/p/leocad/"
     1.9 +WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
    1.10 +
    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 mesa libglu-mesa"
    1.16 -BUILD_DEPENDS=""
    1.17 -TARBALL="$PACKAGE-$VERSION.tgz"
    1.18 -WEB_SITE="http://code.google.com/p/leocad/"
    1.19 -WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
    1.20 +BUILD_DEPENDS="mesa-dev"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26  	make PREFIX="/usr" config &&
    1.27 -	make &&
    1.28 -	make install
    1.29 -
    1.30 -	mkdir -p $src/_pkg/usr/lib/leocad
    1.31 -
    1.32 -	# Create the shell script launcher
    1.33 -	mkdir -p _pkg/usr/bin
    1.34 -	cat > _pkg/usr/bin/leocad << EOF
    1.35 -#!/bin/sh
    1.36 -
    1.37 -LEOCAD_LIB=/usr/share/leocad \\
    1.38 -/usr/lib/leocad/leocad
    1.39 -EOF
    1.40 -	chmod +x _pkg/usr/bin/leocad
    1.41 +	make && make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs
    1.48 -	cp -a $_pkg/* $fs
    1.49 +	mkdir -p $fs/usr/lib/leocad \
    1.50 +		 $fs/usr/bin
    1.51  
    1.52 +	# Create the shell script launcher
    1.53 +	cat > $fs/usr/bin/leocad << EOF
    1.54 +#!/bin/sh
    1.55 +LEOCAD_LIB=/usr/share/leocad \\
    1.56 +/usr/lib/leocad/leocad
    1.57 +EOF
    1.58 +	chmod +x $fs/usr/bin/leocad
    1.59 +	cp -a $install/* $fs
    1.60  }