Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
374 B

#!/bin/bash
DB_EXT=/usr/share/xml/docbook/xsl-stylesheets-1.73.2/extensions/xalan27.jar
LIBS=/usr/lib/apache-xml:/usr/lib/apache-xml/*:$DB_EXT
PROGRAM_CLASS=org.apache.fop.cli.Main
RESOLVER_CLASS=org.apache.xml.resolver.tools.CatalogResolver
CONF=/etc/fop.conf
if [ ! "$1" ]; then
java -cp $LIBS $PROGRAM_CLASS
exit 1
fi
java -cp $LIBS $PROGRAM_CLASS -c $CONF $@