wok rev 3709
Add: leocad
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jul 20 13:40:12 2009 +0000 (2009-07-20) |
parents | e81980da2c9e |
children | e31abfb7cc89 |
files | leocad-pieces/receipt leocad/receipt leocad/stuff/share/applications/leocad.desktop leocad/stuff/share/pixmaps/leocad.png |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/leocad-pieces/receipt Mon Jul 20 13:40:12 2009 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="leocad-pieces" 1.7 +VERSION="2907" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Pieces library for LeoCAD." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="" 1.13 +TARBALL="pieces-$VERSION.zip" 1.14 +WEB_SITE="http://www.leocad.org/" 1.15 +WGET_URL="http://www.leocad.org/files/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + # Move to the standard $src directory if it does not already exist 1.21 + if [ ! -d "$src" ] ; then 1.22 + mkdir -p $src/leocad 1.23 + mv pieces.* textures.* sysfont.* $src/leocad 1.24 + fi 1.25 + 1.26 + if [ -d "$src/_pkg" ] ; then rm -r $src/_pkg ; fi 1.27 + mkdir -p $src/_pkg/usr/share/leocad 1.28 + cp -dp $src/leocad/* $src/_pkg/usr/share/leocad 1.29 + cd $src 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs 1.36 + cp -a $_pkg/* $fs 1.37 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/leocad/receipt Mon Jul 20 13:40:12 2009 +0000 2.3 @@ -0,0 +1,49 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="leocad" 2.7 +VERSION="0.75-1" 2.8 +CATEGORY="games" 2.9 +SHORT_DESC="A CAD program that uses toy bricks." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base gcc-lib-base glib libgio expat zlib leocad-pieces \ 2.12 +gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \ 2.13 +xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ 2.14 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \ 2.15 +xorg-libXrender" 2.16 +BUILD_DEPENDS="" 2.17 +TARBALL="$PACKAGE-$VERSION.i386.rpm" 2.18 +WEB_SITE="http://www.leocad.org/" 2.19 +WGET_URL="http://www.leocad.org/files/$TARBALL" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + echo " ** Ignoring Extract Error **" 2.25 + 2.26 + mkdir -p $src/_pkg/usr/libexec 2.27 + cp -a stuff/share $src/_pkg/usr 2.28 + 2.29 + cd $src 2.30 + 2.31 + # Extract the rpm 2.32 + rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv 2.33 + 2.34 + cp -a usr/local/bin/leocad _pkg/usr/libexec 2.35 + 2.36 + # Create the shell script launcher 2.37 + mkdir -p _pkg/usr/bin 2.38 + cat > _pkg/usr/bin/leocad << EOF 2.39 +#!/bin/sh 2.40 + 2.41 +LEOCAD_LIB=/usr/share/leocad \\ 2.42 +/usr/libexec/leocad 2.43 +EOF 2.44 + chmod +x _pkg/usr/bin/leocad 2.45 +} 2.46 + 2.47 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.48 +genpkg_rules() 2.49 +{ 2.50 + mkdir -p $fs 2.51 + cp -a $_pkg/* $fs 2.52 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/leocad/stuff/share/applications/leocad.desktop Mon Jul 20 13:40:12 2009 +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/share/pixmaps/leocad.png has changed