2
# I could not find the src on the sf.net download page.
3
# Instead pull down the svn tree
11
if [ -z ${VERSION}]; then
12
VERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'`
15
REVISION=`echo $VERSION | sed -e 's/^.*svn//g'`
17
FOLDER=${PACKAGE}-${VERSION}
19
if [ -z ${TARFILE} ]; then
20
TARFILE=${PACKAGE}_${VERSION}.orig.tar.gz
23
#svn export --quiet --revision ${REVISION} http://xslthl.svn.sourceforge.net/svnroot/xslthl/tags/v2_0_1/ ${FOLDER}
24
svn export --quiet http://xslthl.svn.sourceforge.net/svnroot/xslthl/tags/v2_0_2/ ${FOLDER}
27
# saxon6 / saxon9 / xalan are packaged inside the source...
29
# examples have weird license or no license. we do not need them:
33
GZIP=-9 tar czf ${TARFILE} ${FOLDER}