wok-current diff leocad/receipt @ rev 9505
Up slitaz-configs (4.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 04:42:39 2011 +0200 (2011-04-06) |
parents | 8fdabf52013b |
children | 4934fca68878 |
line diff
1.1 --- a/leocad/receipt Sat Aug 14 16:16:00 2010 +0000 1.2 +++ b/leocad/receipt Wed Apr 06 04:42:39 2011 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="leocad" 1.7 -VERSION="0.75-1" 1.8 +VERSION="0.75.1" 1.9 CATEGORY="games" 1.10 SHORT_DESC="A CAD program that uses toy bricks." 1.11 MAINTAINER="rcx@zoominternet.net" 1.12 @@ -9,26 +9,21 @@ 1.13 gtk+ atk cairo pixman pango jpeg libpng fontconfig freetype libxcb xcb-util \ 1.14 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ 1.15 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXft xorg-libXinerama \ 1.16 -xorg-libXrender" 1.17 +xorg-libXrender mesa libglu-mesa" 1.18 BUILD_DEPENDS="" 1.19 -TARBALL="$PACKAGE-$VERSION.i386.rpm" 1.20 -WEB_SITE="http://www.leocad.org/" 1.21 +TARBALL="$PACKAGE-$VERSION.tgz" 1.22 +WEB_SITE="http://code.google.com/p/leocad/" 1.23 WGET_URL="http://leocad.googlecode.com/files/$TARBALL" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - echo " ** Ignoring Extract Error **" 1.29 + cd $src 1.30 + make PREFIX="/usr" config && 1.31 + make && 1.32 + make install 1.33 1.34 mkdir -p $src/_pkg/usr/lib/leocad 1.35 - cp -a stuff/share $src/_pkg/usr 1.36 - 1.37 - cd $src 1.38 - 1.39 - # Extract the rpm 1.40 - rpm2cpio $SOURCES_REPOSITORY/$TARBALL | cpio -idmv 1.41 - 1.42 - cp -a usr/local/bin/leocad _pkg/usr/lib/leocad 1.43 1.44 # Create the shell script launcher 1.45 mkdir -p _pkg/usr/bin 1.46 @@ -46,4 +41,5 @@ 1.47 { 1.48 mkdir -p $fs 1.49 cp -a $_pkg/* $fs 1.50 + 1.51 }