[gccsdk] RiscPkg patch for gerb2tif

Theo Markettos theo at markettos.org.uk
Wed Nov 26 15:43:15 PST 2008


Attached is a patch to create a RiscPkg of my gerb2tif port.  Hopefully this
should be enough to push it through to the autobuilder website.

Theo
-------------- next part --------------
Index: graphics/gerb2tif/RiscPkg/Control
===================================================================
--- graphics/gerb2tif/RiscPkg/Control	(revision 0)
+++ graphics/gerb2tif/RiscPkg/Control	(revision 0)
@@ -0,0 +1,5 @@
+Version: 0.74-1
+Description: Converts Gerber files to TIFF images
+ gerb2tif is a command line program to convert RS274 Gerber files,
+ from computer controlled manufacturing (typically printed circuit board
+ designs) into TIFF images.
Index: graphics/gerb2tif/setvars
===================================================================
--- graphics/gerb2tif/setvars	(revision 3556)
+++ graphics/gerb2tif/setvars	(working copy)
@@ -1,7 +1,15 @@
-AB_CATEGORY=Command
+AB_CATEGORY=Graphics
+AB_LICENCE=GPLv2
+AB_APPNAME=gerb2tif
 
 AB_URL=http://members.optusnet.com.au/~eseychell/gerb2tif/gerb2tif_0.74.zip
 
 ab_package() {
-  cp $S/../GPL $S/../readme.txt $S/../CHANGES.TXT $S/gerb2tif$AB_EXEEXT $D
+  mkdir -p $D/\!$AB_APPNAME
+  cp $S/../GPL $S/../CHANGES.TXT $S/gerb2tif$AB_EXEEXT $D/\!$AB_APPNAME
+  cp $S/../readme.txt $D/\!$AB_APPNAME/\!Help
+  echo "Set Alias\$gerb2tif <Obey\$Dir>.gerb2tif %*0" >  $D/\!$AB_APPNAME/!Boot,feb
+  cp $D/\!$AB_APPNAME/!Boot,feb $D/\!$AB_APPNAME/!Run,feb
+
+  $AB_HOME/add-riscpkg -unixlib -appname $AB_APPNAME -copyrightfile $S/../GPL
 }


More information about the gcc mailing list