summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/fop/fop.SlackBuild30
-rw-r--r--office/fop/fop.info8
2 files changed, 17 insertions, 21 deletions
diff --git a/office/fop/fop.SlackBuild b/office/fop/fop.SlackBuild
index 0b7e2f712a..1205679527 100644
--- a/office/fop/fop.SlackBuild
+++ b/office/fop/fop.SlackBuild
@@ -23,24 +23,22 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fop
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -75,9 +73,9 @@ find -L . \
sed -i '\@</javad@i<arg value="-Xdoclint:none"/>' build.xml
# Compiles with apache-ant:
-ant compile
-ant jar-main
-ant javadocs
+ant compile
+ant jar-main
+ant javadocs
mv build/javadocs .
@@ -86,21 +84,19 @@ install -v -d -m755 $PKG/opt/$PRGNAM-$VERSION/
cp -va build conf examples fop* javadocs lib status.xml \
$PKG/opt/$PRGNAM-$VERSION
-
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
+
# Create fop symlink to /usr/bin:
mkdir -p $PKG/usr/bin
( ln -sf /opt/${PRGNAM}-${VERSION}/${PRGNAM} $PKG/usr/bin/ )
-
+
# Symlink it all to /opt/fop so the .foprc won't need edited every update:
-( cd $PKG/opt ; ln -sf ${PRGNAM}-${VERSION} ${PRGNAM} )
+( cd $PKG/opt ; ln -sf ${PRGNAM}-${VERSION} ${PRGNAM} )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README NOTICE LICENSE KEYS \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README NOTICE LICENSE KEYS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/fop/fop.info b/office/fop/fop.info
index 6fa2af1035..668f994117 100644
--- a/office/fop/fop.info
+++ b/office/fop/fop.info
@@ -1,10 +1,10 @@
PRGNAM="fop"
-VERSION="1.1"
+VERSION="2.0"
HOMEPAGE="www.apache.org"
-DOWNLOAD="https://archive.apache.org/dist/xmlgraphics/fop/source/fop-1.1-src.tar.gz"
-MD5SUM="7b63af514b28c06fe710a794cbf4d68e"
+DOWNLOAD="https://archive.apache.org/dist/xmlgraphics/fop/source/fop-2.0-src.tar.gz"
+MD5SUM="754e5307a73433afb5c4c9b11d45e302"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="apache-ant jai"
MAINTAINER="Thorn Inurcide"
-EMAIL="thorn-inurcide@hotmail.com"
+EMAIL="thorn-inurcide@yandex.com"