summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2019-04-06 06:02:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-06 06:51:04 +0700
commit9f29ae5b23748750dab39ba8960388a06b53d232 (patch)
tree4e69eb4a0b5b4de8112c3be7a9f65c560778d667 /gis
parent4473c98f20b17650f8430c0179f8a8e46b7a289a (diff)
downloadslackbuilds-9f29ae5b23748750dab39ba8960388a06b53d232.tar.gz
gis/opencpn-plugin-oesenc: Updated for version 2.9.1601.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/opencpn-plugin-oesenc/multilib-strict.patch14
-rw-r--r--gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild7
-rw-r--r--gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info6
3 files changed, 23 insertions, 4 deletions
diff --git a/gis/opencpn-plugin-oesenc/multilib-strict.patch b/gis/opencpn-plugin-oesenc/multilib-strict.patch
new file mode 100644
index 0000000000..d1a80d8fc1
--- /dev/null
+++ b/gis/opencpn-plugin-oesenc/multilib-strict.patch
@@ -0,0 +1,14 @@
+diff -up oesenc_pi-2.9.1601/CMakeLists.txt.orig1 oesenc_pi-2.9.1601/CMakeLists.txt
+--- oesenc_pi-2.9.1601/CMakeLists.txt.orig1 2019-04-03 20:56:51.982839060 -0500
++++ oesenc_pi-2.9.1601/CMakeLists.txt 2019-04-03 20:58:02.487835992 -0500
+@@ -99,6 +99,10 @@ IF (NOT WIN32)
+ ENDIF (CMAKE_SYSTEM_PROCESSOR MATCHES "arm*")
+ ENDIF (EXISTS /etc/debian_version)
+
++ IF (EXISTS /etc/slackware-version)
++ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
++ ENDIF (EXISTS /etc/slackware-version)
++
+ IF (EXISTS /etc/redhat-release)
+ SET (PACKAGE_FORMAT "RPM")
+ SET (PACKAGE_DEPS "opencpn")
diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
index 60bfef587b..9d6ed6658d 100644
--- a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
+++ b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=opencpn-plugin-oesenc
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.9.1601}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,6 +74,9 @@ find -L . \
sed -i -e 's/^ SET (LIB_INSTALL_DIR "lib")/ SET (LIB_INSTALL_DIR "lib${LIB_SUFFIX}")/' \
cmake/PluginInstall.cmake
+# fix shared object installing to wrong directory
+patch -p1 < $CWD/multilib-strict.patch
+
mkdir -p build
cd build
cmake \
@@ -82,6 +85,8 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
diff --git a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info
index 169316277b..0a1441d693 100644
--- a/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info
+++ b/gis/opencpn-plugin-oesenc/opencpn-plugin-oesenc.info
@@ -1,8 +1,8 @@
PRGNAM="opencpn-plugin-oesenc"
-VERSION="2.1.0"
+VERSION="2.9.1601"
HOMEPAGE="https://opencpn.org/OpenCPN/plugins/oesenc.html"
-DOWNLOAD="https://www.dropbox.com/s/uyq7up8ee61xl19/oesenc_pi-2.1.0.tar.gz"
-MD5SUM="8aeb8c117bfa57cfa6086b4d23f843c1"
+DOWNLOAD="https://www.dropbox.com/s/jflzm9ds8nyxlld/oesenc_pi-2.9.1601.tar.gz"
+MD5SUM="5ee776340af240b876187a44d2825fb5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="opencpn"