# HG changeset patch # User Christopher Rogers # Date 1300388160 0 # Node ID 540d8dcbfb24dad656f6e3c319f98f054f084c96 # Parent b939fa61b2b0d9d5d9a1317415fca304a36244bc Up: leocad to 0.75.1. Now using source code. Fixed leocad-pieces also. diff -r b939fa61b2b0 -r 540d8dcbfb24 leocad-pieces/receipt --- a/leocad-pieces/receipt Thu Mar 17 18:09:16 2011 +0000 +++ b/leocad-pieces/receipt Thu Mar 17 18:56:00 2011 +0000 @@ -5,8 +5,6 @@ CATEGORY="games" SHORT_DESC="Pieces library for LeoCAD." MAINTAINER="rcx@zoominternet.net" -DEPENDS="" -BUILD_DEPENDS="" TARBALL="pieces-$VERSION.zip" WEB_SITE="http://www.leocad.org/" WGET_URL="http://leocad.googlecode.com/files/$TARBALL" @@ -14,16 +12,8 @@ # Rules to configure and make the package. compile_rules() { - # Move to the standard $src directory if it does not already exist - if [ ! -d "$src" ] ; then - mkdir -p $src/leocad - mv pieces.* textures.* sysfont.* $src/leocad - fi - - if [ -d "$src/_pkg" ] ; then rm -r $src/_pkg ; fi - mkdir -p $src/_pkg/usr/share/leocad - cp -dp $src/leocad/* $src/_pkg/usr/share/leocad - cd $src + mkdir -p $DESTDIR/usr/share/leocad + cp -dp $src/* $DESTDIR/usr/share/leocad } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r b939fa61b2b0 -r 540d8dcbfb24 leocad/receipt --- a/leocad/receipt Thu Mar 17 18:09:16 2011 +0000 +++ b/leocad/receipt Thu Mar 17 18:56:00 2011 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="leocad" -VERSION="0.75-1" +VERSION="0.75.1" CATEGORY="games" SHORT_DESC="A CAD program that uses toy bricks." MAINTAINER="rcx@zoominternet.net" @@ -9,26 +9,21 @@ gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \ xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \ -xorg-libXrender" +xorg-libXrender mesa libglu-mesa" BUILD_DEPENDS="" -TARBALL="$PACKAGE-$VERSION.i386.rpm" -WEB_SITE="http://www.leocad.org/" +TARBALL="$PACKAGE-$VERSION.tgz" +WEB_SITE="http://code.google.com/p/leocad/" WGET_URL="http://leocad.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { - echo " ** Ignoring Extract Error **" + cd $src + make PREFIX="/usr" config && + make && + make install mkdir -p $src/_pkg/usr/lib/leocad - cp -a stuff/share $src/_pkg/usr - - cd $src - - # Extract the rpm - rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv - - cp -a usr/local/bin/leocad _pkg/usr/lib/leocad # Create the shell script launcher mkdir -p _pkg/usr/bin @@ -46,4 +41,5 @@ { mkdir -p $fs cp -a $_pkg/* $fs + } diff -r b939fa61b2b0 -r 540d8dcbfb24 leocad/stuff/leocad.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/leocad/stuff/leocad.desktop Thu Mar 17 18:56:00 2011 +0000 @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=LeoCAD +GenericName=LeoCAD model designer +Comment=A CAD program that uses toy bricks +Exec=leocad +Icon=leocad.png +Terminal=false +Type=Application +Categories=Application;Lego;Game; diff -r b939fa61b2b0 -r 540d8dcbfb24 leocad/stuff/leocad.png Binary file leocad/stuff/leocad.png has changed diff -r b939fa61b2b0 -r 540d8dcbfb24 leocad/stuff/share/applications/leocad.desktop --- a/leocad/stuff/share/applications/leocad.desktop Thu Mar 17 18:09:16 2011 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=LeoCAD -GenericName=LeoCAD model designer -Comment=A CAD program that uses toy bricks -Exec=leocad -Icon=leocad.png -Terminal=false -Type=Application -Categories=Application;Lego;Game; diff -r b939fa61b2b0 -r 540d8dcbfb24 leocad/stuff/share/pixmaps/leocad.png Binary file leocad/stuff/share/pixmaps/leocad.png has changed