mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/saxonb: Removed from 13.0 repository
This commit is contained in:
parent
346f4123d0
commit
8645e9824a
9 changed files with 0 additions and 175 deletions
|
@ -1,6 +0,0 @@
|
|||
Saxonb-B is the open source version of Saxonica's Saxon-SA
|
||||
schema aware XSLT processor. Visit http://www.saxonica.com/
|
||||
for more information and complete documentation.
|
||||
|
||||
See README.SLACKWARE (which is also installed with the package
|
||||
documentation) for setup and usage information.
|
|
@ -1,53 +0,0 @@
|
|||
Setting CLASSPATH
|
||||
=================
|
||||
|
||||
SaxonB is a java application and as such the main jar file
|
||||
MUST be included in the $CLASSPATH environment variable.
|
||||
|
||||
For most uses you should only add the path to the saxon9.jar file.
|
||||
However, if you need to use DOM, JDOM or other xml tree
|
||||
models, you may need to add some or all of the other jar file
|
||||
paths. The SaxonB jar files are found in /usr/lib/saxonb/, the
|
||||
online documentation below has additional information on this.
|
||||
|
||||
To add the path from the command line for a single session:
|
||||
export CLASSPATH=$CLASSPATH:/usr/lib/saxonb/saxon9.jar
|
||||
This package installs scripts to /etc/profile.d/saxonb.{sh,csh}
|
||||
which should handle this correctly for you.
|
||||
|
||||
|
||||
Using XSLT Transforms
|
||||
=====================
|
||||
|
||||
Because SaxonB is a java application it must be invoked using
|
||||
java syntax. See the usage documentation at...
|
||||
|
||||
http://saxonica.com/documentation/using-xsl/intro.html
|
||||
|
||||
The command line syntax is:
|
||||
|
||||
java net.sf.saxon.Transform [options] -s:source -xsl:stylesheet -o:output [params]
|
||||
|
||||
To make this easier, we have included a script /usr/bin/saxonbt which will
|
||||
perform the java invocation for you using the same syntax for options
|
||||
and filenames. For example...
|
||||
|
||||
saxonbt [options] -s:source -xsl:stylesheet -o:output [params]
|
||||
|
||||
Using XQuery
|
||||
=====================
|
||||
|
||||
See the usage documentation at...
|
||||
|
||||
http://saxonica.com/documentation/using-xquery/intro.html
|
||||
|
||||
The command line syntax is:
|
||||
|
||||
java net.sf.saxon.Query [options] -q:queryfile | -qs:querystring [params]
|
||||
|
||||
To make this easier, we have included a script /usr/bin/saxonbq which will
|
||||
perform the java invocation for you using the same syntax for options
|
||||
and filenames. For example...
|
||||
|
||||
saxonbq [options] -q:queryfile | -qs:querystring [params]
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/csh
|
||||
setenv CLASSPATH ${CLASSPATH}:/usr/lib/saxonb/saxon9.jar
|
|
@ -1,75 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright 2009 Robert Allen - slacker@slaphappygeeks.com
|
||||
# All rights reserved including Creator Endowed Unalienable Rights.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Modified by Robby Workman <rworkman@slackbuilds.org>
|
||||
|
||||
PRGNAM=saxonb
|
||||
VERSION=${VERSION:-9.1.0.5j}
|
||||
ARCH=i486
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Upstream source uses dashes for the VERSION string
|
||||
SRC_VERSION=$(echo $VERSION |tr '.' '-')
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
unzip -d $PRGNAM-$VERSION $CWD/${PRGNAM}${SRC_VERSION}.zip
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
cat $CWD/saxonbt > $PKG/usr/bin/saxonbt
|
||||
cat $CWD/saxonbq > $PKG/usr/bin/saxonbq
|
||||
chmod 0755 $PKG/usr/bin/*
|
||||
|
||||
mkdir -p $PKG/usr/lib/$PRGNAM-$VERSION
|
||||
cp -a *.jar $PKG/usr/lib/$PRGNAM-$VERSION
|
||||
# Add convenience symlink
|
||||
( cd $PKG/usr/lib ; ln -s $PRGNAM-$VERSION $PRGNAM )
|
||||
|
||||
# We'll install profile scripts, and they will *not* be config()'d
|
||||
mkdir -p $PKG/etc/profile.d
|
||||
cat $CWD/sh.profile > $PKG/etc/profile.d/saxonb.sh
|
||||
cat $CWD/csh.profile > $PKG/etc/profile.d/saxonb.csh
|
||||
chmod 0755 $PKG/etc/profile.d/*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a doc/* notices/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
|
@ -1,8 +0,0 @@
|
|||
PRGNAM="saxonb"
|
||||
VERSION="9.1.0.5j"
|
||||
HOMEPAGE="http://www.saxonica.com/products.html"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/saxon/saxonb9-1-0-5j.zip"
|
||||
MD5SUM="898f4aa68a1c0a8c1bd5f9f723272443"
|
||||
MAINTAINER="Robert Allen"
|
||||
EMAIL="slacker@slaphappygeeks.com"
|
||||
APPROVED="rworkman"
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Simple invocation of saxon-B java XQuery processor
|
||||
# The saxon9.jar must be in your CLASSPATH
|
||||
java net.sf.saxon.Query $*
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Simple invocation of saxon-B java XSLT transform processor
|
||||
# The saxon9.jar must be in your CLASSPATH
|
||||
java net.sf.saxon.Transform $*
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
export CLASSPATH="${CLASSPATH}:/usr/lib/saxonb/saxon9.jar"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
saxonb: Saxon-B (Java XSLT Processor)
|
||||
saxonb:
|
||||
saxonb: Saxon-B is the free, open source version of the Saxon XSLT,
|
||||
saxonb: XQuery, and XML Schema processor, Saxon-SA
|
||||
saxonb:
|
||||
saxonb: Homepage: http://saxonica.com/products.html
|
||||
saxonb: Project: http://saxon.sourceforge.net/
|
||||
saxonb: Documentation: http://saxonica.com/documentation/index.html
|
||||
saxonb:
|
||||
saxonb: Package includes saxonbt and saxonbq invocation scripts.
|
||||
saxonb: Add /usr/lib/saxonb/saxon9.jar to your java CLASSPATH
|
Loading…
Reference in a new issue