diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-12-19 21:40:33 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-21 08:19:23 +0700 |
commit | dec9ed6dfab03059ef9716c95b24e5d995b59a2d (patch) | |
tree | e0785253b0df626f7a15487e10f75d753fa0a6b5 /libraries | |
parent | 50a8776beddf80255d19c07b7a9fbda1f13f9d95 (diff) | |
download | slackbuilds-dec9ed6dfab03059ef9716c95b24e5d995b59a2d.tar.gz |
libraries/libetonyek: Updated for version 0.1.7.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libetonyek/README | 6 | ||||
-rw-r--r-- | libraries/libetonyek/libetonyek.SlackBuild | 27 | ||||
-rw-r--r-- | libraries/libetonyek/libetonyek.info | 6 | ||||
-rw-r--r-- | libraries/libetonyek/mdds-1.2.patch.gz | bin | 532 -> 0 bytes |
4 files changed, 18 insertions, 21 deletions
diff --git a/libraries/libetonyek/README b/libraries/libetonyek/README index b584bf4785..86b2218088 100644 --- a/libraries/libetonyek/README +++ b/libraries/libetonyek/README @@ -4,5 +4,7 @@ based on librevenge. It can import presentations of Keynote versions is planned as well. The library is a part of the Document Liberation Project. -To build the doxygen html documentation use DOC="yes". -To build the tests, install cppunit before running this script. +cppunit is an optional dependency to build and run the unit tests. + +To build the doxygen html documentation use: + DOC="yes". diff --git a/libraries/libetonyek/libetonyek.SlackBuild b/libraries/libetonyek/libetonyek.SlackBuild index d9fa680ea4..52949c8a35 100644 --- a/libraries/libetonyek/libetonyek.SlackBuild +++ b/libraries/libetonyek/libetonyek.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libetonyek -VERSION=${VERSION:-0.1.6} +VERSION=${VERSION:-0.1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,23 +69,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -DOC=${DOC:-no} -if [ ! "$DOC" = "yes" ]; then - doc="--without-docs" -else - doc="" -fi +case "${DOC:-0}" in + 0) doc='--without-docs' ;; + *) doc='--with-docs' ;; +esac -if ! pkg-config --exists cppunit; then - cppunit="--disable-tests" +if pkg-config --exists cppunit; then + cppunit='--enable-tests' else - cppunit="" + cppunit='--disable-tests' fi -# patch taken from Debian -zcat $CWD/mdds-1.2.patch.gz | patch -p1 -autoreconf -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -102,7 +96,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog FEATURES NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog FEATURES NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libetonyek/libetonyek.info b/libraries/libetonyek/libetonyek.info index 3d60ca5846..201b5a23de 100644 --- a/libraries/libetonyek/libetonyek.info +++ b/libraries/libetonyek/libetonyek.info @@ -1,8 +1,8 @@ PRGNAM="libetonyek" -VERSION="0.1.6" +VERSION="0.1.7" HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" -DOWNLOAD="http://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.6.tar.xz" -MD5SUM="dfe25b0c7739283a5c61a930ea1f9bf8" +DOWNLOAD="http://dev-www.libreoffice.org/src/libetonyek/libetonyek-0.1.7.tar.xz" +MD5SUM="3088732de0028b1340668b8a3caf3c25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="glm liblangtag mdds" diff --git a/libraries/libetonyek/mdds-1.2.patch.gz b/libraries/libetonyek/mdds-1.2.patch.gz Binary files differdeleted file mode 100644 index 555e8b77f0..0000000000 --- a/libraries/libetonyek/mdds-1.2.patch.gz +++ /dev/null |