mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
gis/udig: Update Dependencies.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
34e83ff53a
commit
43243c964d
2 changed files with 3 additions and 12 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
PRGNAM=udig
|
||||
VERSION=${VERSION:-1.4.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -64,18 +64,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# uDig comes with its own JRE, but this is unnecessay as long as the JAI jars are
|
||||
# installed in the correct location. This is how other distros avoid shipping a
|
||||
# duplicate Java environment with uDig.
|
||||
mkdir -p $PKG/usr/share/$PRGNAM/jai
|
||||
cp -a jre/lib/ext/jai_*.jar $PKG/usr/share/$PRGNAM/jai
|
||||
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/java/jre/lib/ext
|
||||
ln -s /usr/share/$PRGNAM/jai/jai_codec.jar $PKG/usr/lib$LIBDIRSUFFIX/java/jre/lib/ext/jai_codec.jar
|
||||
ln -s /usr/share/$PRGNAM/jai/jai_core.jar $PKG/usr/lib$LIBDIRSUFFIX/java/jre/lib/ext/jai_core.jar
|
||||
ln -s /usr/share/$PRGNAM/jai/jai_imageio.jar $PKG/usr/lib$LIBDIRSUFFIX/java/jre/lib/ext/jai_imageio.jar
|
||||
|
||||
# the GDAL libs need to be extracted from the JRE directory and placed in the LD_LIBRARY_PATH
|
||||
# at uDig runtime
|
||||
mkdir -p $PKG/usr/share/$PRGNAM
|
||||
cp -a jre/lib/${GDALDIR}/libgdaljni.so{,.1} $PKG/usr/share/$PRGNAM
|
||||
sed -i '2i\
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/bin/share/udig
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="http://udig.refractions.net/files/downloads/udig-1.4.0.linux.gtk.x86.z
|
|||
MD5SUM="116b7f577ba08b1e2b7d0100588f5259"
|
||||
DOWNLOAD_x86_64="http://udig.refractions.net/files/downloads/udig-1.4.0.linux.gtk.x86_64.zip"
|
||||
MD5SUM_x86_64="b401a3fc48b33888dcf894104b4f903e"
|
||||
REQUIRES="jdk"
|
||||
REQUIRES="jai-imageio"
|
||||
MAINTAINER="Benjamin Trigona-Harany"
|
||||
EMAIL="slackbuilds@jaxartes.net"
|
||||
|
|
Loading…
Reference in a new issue