diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-08-16 21:43:27 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-08-19 07:10:43 +0700 |
commit | 776d134d473e6619fdddf7dcae0879147ea07573 (patch) | |
tree | 3b1ef77445c39e8f613cb11c7f57eb4795ecec61 | |
parent | a80a153ac54c57b04f9a86f7eb3087d0db245c6e (diff) | |
download | slackbuilds-776d134d473e6619fdddf7dcae0879147ea07573.tar.gz |
libraries/libe-book: Switch download to https, script changes.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | libraries/libe-book/libe-book.SlackBuild | 21 | ||||
-rw-r--r-- | libraries/libe-book/libe-book.info | 2 |
2 files changed, 13 insertions, 10 deletions
diff --git a/libraries/libe-book/libe-book.SlackBuild b/libraries/libe-book/libe-book.SlackBuild index 359e9bd04a..b20e9ecb22 100644 --- a/libraries/libe-book/libe-book.SlackBuild +++ b/libraries/libe-book/libe-book.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libe-book -# 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 @@ -24,7 +24,7 @@ PRGNAM=libe-book VERSION=${VERSION:-0.1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -69,21 +69,24 @@ 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" +case "${DOC:-no}" in + yes) doc='--with-docs' ;; + *) doc='--without-docs' ;; +esac + +if pkg-config --exists cppunit; then + cppunit='--enable-tests' else - doc="" + cppunit='--disable-tests' fi -if pkg-config --exists cppunit; then cppunit=""; else cppunit="--disable-tests"; fi - CFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \ CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-werror \ --build=$ARCH-slackware-linux \ $doc \ $cppunit diff --git a/libraries/libe-book/libe-book.info b/libraries/libe-book/libe-book.info index 38a7335b27..8af8ac950d 100644 --- a/libraries/libe-book/libe-book.info +++ b/libraries/libe-book/libe-book.info @@ -1,7 +1,7 @@ PRGNAM="libe-book" VERSION="0.1.2" HOMEPAGE="https://sourceforge.net/projects/libebook/" -DOWNLOAD="http://sourceforge.net/projects/libebook/files/libe-book-0.1.2/libe-book-0.1.2.tar.xz" +DOWNLOAD="https://sourceforge.net/projects/libebook/files/libe-book-0.1.2/libe-book-0.1.2.tar.xz" MD5SUM="19d84f4a97aab32d350d1f47ea3da0b3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |