wok-6.x rev 3697
Add: ldraw
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 16 15:25:23 2009 +0000 (2009-07-16) |
parents | 2db429fb192c |
children | f3474882f4ec |
files | ldraw/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ldraw/receipt Thu Jul 16 15:25:23 2009 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ldraw" 1.7 +VERSION="2004-2" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="A redistributable LDraw.org parts library." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="" 1.13 +TARBALL="unix-complete.tgz" 1.14 +WEB_SITE="http://www.ldraw.org/" 1.15 +WGET_URL="http://www.ldraw.org/files/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + # Extract the contents directly to the package directory 1.21 + if [ ! -d $src ] ; then 1.22 + mv LDRAW $src 1.23 + mkdir -p $src/_pkg/ldraw 1.24 + cp -a $src/*.ldr $src/parts.lst $src/_pkg/ldraw 1.25 + cp -a $src/P $src/_pkg/ldraw 1.26 + cp -a $src/PARTS $src/_pkg/ldraw 1.27 + chmod -R a-x,go-w $src/_pkg/ldraw 1.28 + fi 1.29 + 1.30 + # The download tarball is not versioned, so we have to move it 1.31 + mv -f $SOURCES_REPOSITORY/$TARBALL $SOURCES_REPOSITORY/$PACKAGE-$VERSION.tgz 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/share 1.38 + cp -a $_pkg/* $fs/usr/share 1.39 +}