libraries/libe-book: Switch download to https, script changes.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
a80a153ac5
commit
776d134d47
|
@ -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,14 +69,16 @@ 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:-no}" in
|
||||
yes) doc='--with-docs' ;;
|
||||
*) doc='--without-docs' ;;
|
||||
esac
|
||||
|
||||
if pkg-config --exists cppunit; then cppunit=""; else cppunit="--disable-tests"; fi
|
||||
if pkg-config --exists cppunit; then
|
||||
cppunit='--enable-tests'
|
||||
else
|
||||
cppunit='--disable-tests'
|
||||
fi
|
||||
|
||||
CFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
|
||||
CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
|
||||
|
@ -84,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
|
|||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-werror \
|
||||
--build=$ARCH-slackware-linux \
|
||||
$doc \
|
||||
$cppunit
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue