changeset 0:516712b2f0cb draft

Uploaded
author iuc
date Thu, 05 Dec 2013 00:21:19 -0500
parents
children 2235dc741c10
files package_ghostscript_9_07-7245d8573fca/tool_dependencies.xml
diffstat 1 files changed, 36 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/package_ghostscript_9_07-7245d8573fca/tool_dependencies.xml	Thu Dec 05 00:21:19 2013 -0500
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="libx11" version="1.5.0">
+        <repository changeset_revision="11623237372f" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="xorg_macros" version="1.17.1">
+        <repository changeset_revision="84a6fa565c7c" name="package_xorg_macros_1_17_1" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="ghostscript" version="9.07">
+        <install version="1.0">
+            <actions>
+                <action type="download_by_url">http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz</action>
+                <action type="set_environment_for_install">
+                    <repository changeset_revision="11623237372f" name="package_x11_client_1_5_proto_7_0" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="libx11" version="1.5.0" />
+                    </repository>
+                    <repository changeset_revision="84a6fa565c7c" name="package_xorg_macros_1_17_1" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu">
+                        <package name="xorg_macros" version="1.17.1" />
+                    </repository>
+                </action>
+
+                <action type="shell_command">
+                    ./configure --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR --prefix=$INSTALL_DIR
+                </action>
+                <action type="shell_command">make &amp;&amp; make install</action>
+
+                <action type="set_environment">
+                    <environment_variable action="append_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                    <environment_variable action="set_to" name="GHOSTSCRIPT_SHARE">$INSTALL_DIR/share</environment_variable>
+                    <environment_variable action="set_to" name="GHOSTSCRIPT_PATH">$INSTALL_DIR/share</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>Compiling ghostscript requires a C (typically gcc). GHOSTSCRIPT_SHARE will be exported. http://www.ghostscript.com/</readme>
+    </package>
+</tool_dependency>