aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPaulKinsler <dr.paul@kinsler.org>2019-12-07 18:34:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-07 18:34:29 +0700
commitd7e041afb2f7352b89d972b256fe22809229f0ff (patch)
treee7fb84b2df638be9d0af417cae63d7870030aafa /libraries
parent7ef9e9b007675f3a37f105918f42dced683136fa (diff)
libraries/libctl: Updated for version 4.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libctl/README2
-rw-r--r--libraries/libctl/libctl.SlackBuild18
-rw-r--r--libraries/libctl/libctl.info6
3 files changed, 10 insertions, 16 deletions
diff --git a/libraries/libctl/README b/libraries/libctl/README
index bb5660d9bac43..4b02fd4e28102 100644
--- a/libraries/libctl/README
+++ b/libraries/libctl/README
@@ -2,4 +2,4 @@ libctl is a Guile (http://www.gnu.org/software/guile/)
based library for supporting flexible control in
files in scientific simulations. It is used by the
scheme-based interface to the electromagnetic
-simulation software programs i MPB and MEEP.
+simulation software programs MPB and MEEP.
diff --git a/libraries/libctl/libctl.SlackBuild b/libraries/libctl/libctl.SlackBuild
index 80dec43ea4289..9169f4aca1101 100644
--- a/libraries/libctl/libctl.SlackBuild
+++ b/libraries/libctl/libctl.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libctl
-VERSION=${VERSION:-4.3.0}
+VERSION=${VERSION:-4.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,11 +74,6 @@ 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 {} \;
-# if there is no configure script, try to build one!
-if [ ! -f ./configure ] ; then
- ./autogen.sh
-fi
-
LOCALCONFIGS="--enable-shared"
CFLAGS="$SLKCFLAGS" \
@@ -89,23 +84,22 @@ CPPFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux \
- --enable-static=no \
- --enable-shared=yes \
+ --disable-static \
$LOCALCONFIGS
make
make install DESTDIR=$PKG
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -m 0644 $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/libctl/libctl.info b/libraries/libctl/libctl.info
index fb979549b7e48..bc3b1e4ae5768 100644
--- a/libraries/libctl/libctl.info
+++ b/libraries/libctl/libctl.info
@@ -1,8 +1,8 @@
PRGNAM="libctl"
-VERSION="4.3.0"
+VERSION="4.4.0"
HOMEPAGE="https://github.com/NanoComp/libctl"
-DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.3.0/libctl-4.3.0.tar.gz"
-MD5SUM="a5ad093e02d20caf7eefea4f0014d991"
+DOWNLOAD="https://github.com/NanoComp/libctl/releases/download/v4.4.0/libctl-4.4.0.tar.gz"
+MD5SUM="948a818ddd6dfb8256dcdc1e9fa1dc1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""