diff options
Diffstat (limited to 'gis/udig/udig.SlackBuild')
-rw-r--r-- | gis/udig/udig.SlackBuild | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gis/udig/udig.SlackBuild b/gis/udig/udig.SlackBuild index 339a3ebf5e9c3..fbc7033dded5a 100644 --- a/gis/udig/udig.SlackBuild +++ b/gis/udig/udig.SlackBuild @@ -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 |