mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/libetonyek: Updated for version 0.1.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
51f418ef92
commit
94082aa6bd
3 changed files with 24 additions and 13 deletions
|
@ -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=""; else cppunit="--disable-tests"; fi
|
||||
if ! pkg-config --exists cppunit; then
|
||||
cppunit="--disable-tests"
|
||||
else
|
||||
cppunit=""
|
||||
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
|
||||
|
|
|
@ -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"
|
||||
|
|
BIN
libraries/libetonyek/mdds-1.2.patch.gz
Normal file
BIN
libraries/libetonyek/mdds-1.2.patch.gz
Normal file
Binary file not shown.
Loading…
Reference in a new issue