summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libetonyek/libetonyek.SlackBuild29
-rw-r--r--libraries/libetonyek/libetonyek.info8
-rw-r--r--libraries/libetonyek/mdds-1.2.patch.gzbin0 -> 532 bytes
3 files changed, 24 insertions, 13 deletions
diff --git a/libraries/libetonyek/libetonyek.SlackBuild b/libraries/libetonyek/libetonyek.SlackBuild
index b11d4a2022..d9fa680ea4 100644
--- a/libraries/libetonyek/libetonyek.SlackBuild
+++ b/libraries/libetonyek/libetonyek.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libetonyek
-# Copyright 2015 Hunter Sezen California, USA
+# Copyright 2015-2017 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libetonyek
-VERSION=${VERSION:-0.1.3}
+VERSION=${VERSION:-0.1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,9 +70,21 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
DOC=${DOC:-no}
-if [ ! "${DOC:-yes}" == "yes" ]; then doc="--without-docs"; else doc=""; fi
+if [ ! "$DOC" = "yes" ]; then
+ doc="--without-docs"
+else
+ doc=""
+fi
+
+if ! pkg-config --exists cppunit; then
+ cppunit="--disable-tests"
+else
+ cppunit=""
+fi
-if pkg-config --exists cppunit; then cppunit=""; else cppunit="--disable-tests"; fi
+# patch taken from Debian
+zcat $CWD/mdds-1.2.patch.gz | patch -p1
+autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -81,8 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- $doc \
- $cppunit
+ $cppunit $doc
make
make install DESTDIR=$PKG
diff --git a/libraries/libetonyek/libetonyek.info b/libraries/libetonyek/libetonyek.info
index 788c268e51..3d60ca5846 100644
--- a/libraries/libetonyek/libetonyek.info
+++ b/libraries/libetonyek/libetonyek.info
@@ -1,10 +1,10 @@
PRGNAM="libetonyek"
-VERSION="0.1.3"
+VERSION="0.1.6"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek"
-DOWNLOAD="http://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.3.tar.xz"
-MD5SUM="8a2c7de34b5c02f4a75ba086bc5af57b"
+DOWNLOAD="http://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.6.tar.xz"
+MD5SUM="dfe25b0c7739283a5c61a930ea1f9bf8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="glm mdds"
+REQUIRES="glm liblangtag mdds"
MAINTAINER="Hunter Sezen"
EMAIL="ovariegata@yahoo.com"
diff --git a/libraries/libetonyek/mdds-1.2.patch.gz b/libraries/libetonyek/mdds-1.2.patch.gz
new file mode 100644
index 0000000000..555e8b77f0
--- /dev/null
+++ b/libraries/libetonyek/mdds-1.2.patch.gz
Binary files differ