wok rev 9310

Up: leocad to 0.75.1. Now using source code. Fixed leocad-pieces also.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 18:56:00 2011 +0000 (2011-03-17)
parents b939fa61b2b0
children de0cd9be5ab5
files leocad-pieces/receipt leocad/receipt leocad/stuff/leocad.desktop leocad/stuff/leocad.png leocad/stuff/share/applications/leocad.desktop leocad/stuff/share/pixmaps/leocad.png
line diff
     1.1 --- a/leocad-pieces/receipt	Thu Mar 17 18:09:16 2011 +0000
     1.2 +++ b/leocad-pieces/receipt	Thu Mar 17 18:56:00 2011 +0000
     1.3 @@ -5,8 +5,6 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="Pieces library for LeoCAD."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 -DEPENDS=""
     1.8 -BUILD_DEPENDS=""
     1.9  TARBALL="pieces-$VERSION.zip"
    1.10  WEB_SITE="http://www.leocad.org/"
    1.11  WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
    1.12 @@ -14,16 +12,8 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	# Move to the standard $src directory if it does not already exist
    1.17 -	if [ ! -d "$src" ] ; then
    1.18 -		mkdir -p $src/leocad
    1.19 -		mv pieces.* textures.* sysfont.* $src/leocad
    1.20 -	fi
    1.21 -	
    1.22 -	if [ -d "$src/_pkg" ] ; then rm -r $src/_pkg ; fi
    1.23 -	mkdir -p $src/_pkg/usr/share/leocad
    1.24 -	cp -dp $src/leocad/* $src/_pkg/usr/share/leocad
    1.25 -	cd $src
    1.26 +	mkdir -p $DESTDIR/usr/share/leocad
    1.27 +	cp -dp $src/* $DESTDIR/usr/share/leocad
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/leocad/receipt	Thu Mar 17 18:09:16 2011 +0000
     2.2 +++ b/leocad/receipt	Thu Mar 17 18:56:00 2011 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="leocad"
     2.7 -VERSION="0.75-1"
     2.8 +VERSION="0.75.1"
     2.9  CATEGORY="games"
    2.10  SHORT_DESC="A CAD program that uses toy bricks."
    2.11  MAINTAINER="rcx@zoominternet.net"
    2.12 @@ -9,26 +9,21 @@
    2.13  gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \
    2.14  xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
    2.15  xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \
    2.16 -xorg-libXrender"
    2.17 +xorg-libXrender mesa libglu-mesa"
    2.18  BUILD_DEPENDS=""
    2.19 -TARBALL="$PACKAGE-$VERSION.i386.rpm"
    2.20 -WEB_SITE="http://www.leocad.org/"
    2.21 +TARBALL="$PACKAGE-$VERSION.tgz"
    2.22 +WEB_SITE="http://code.google.com/p/leocad/"
    2.23  WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	echo " ** Ignoring Extract Error **"
    2.29 +	cd $src
    2.30 +	make PREFIX="/usr" config &&
    2.31 +	make &&
    2.32 +	make install
    2.33  
    2.34  	mkdir -p $src/_pkg/usr/lib/leocad
    2.35 -	cp -a stuff/share $src/_pkg/usr
    2.36 -
    2.37 -	cd $src
    2.38 -
    2.39 -	# Extract the rpm
    2.40 -	rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv
    2.41 -
    2.42 -	cp -a usr/local/bin/leocad _pkg/usr/lib/leocad
    2.43  
    2.44  	# Create the shell script launcher
    2.45  	mkdir -p _pkg/usr/bin
    2.46 @@ -46,4 +41,5 @@
    2.47  {
    2.48  	mkdir -p $fs
    2.49  	cp -a $_pkg/* $fs
    2.50 +
    2.51  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/leocad/stuff/leocad.desktop	Thu Mar 17 18:56:00 2011 +0000
     3.3 @@ -0,0 +1,10 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=LeoCAD
     3.7 +GenericName=LeoCAD model designer
     3.8 +Comment=A CAD program that uses toy bricks
     3.9 +Exec=leocad
    3.10 +Icon=leocad.png
    3.11 +Terminal=false
    3.12 +Type=Application
    3.13 +Categories=Application;Lego;Game;
     4.1 Binary file leocad/stuff/leocad.png has changed
     5.1 --- a/leocad/stuff/share/applications/leocad.desktop	Thu Mar 17 18:09:16 2011 +0000
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,10 +0,0 @@
     5.4 -[Desktop Entry]
     5.5 -Encoding=UTF-8
     5.6 -Name=LeoCAD
     5.7 -GenericName=LeoCAD model designer
     5.8 -Comment=A CAD program that uses toy bricks
     5.9 -Exec=leocad
    5.10 -Icon=leocad.png
    5.11 -Terminal=false
    5.12 -Type=Application
    5.13 -Categories=Application;Lego;Game;
     6.1 Binary file leocad/stuff/share/pixmaps/leocad.png has changed