summaryrefslogtreecommitdiffstats
path: root/libraries/cln/cln.SlackBuild
diff options
context:
space:
mode:
author Igor <igor29768@gmail.com>2015-11-19 00:03:38 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-19 00:04:58 +0700
commit87c5d302fcece010e17b256db4d60f7ff5e40fec (patch)
tree608df01fe537edd6680222724bc5ce3299af00b1 /libraries/cln/cln.SlackBuild
parent2c54e81a6809eb7924c96bb3e6529fa7f9fb501c (diff)
downloadslackbuilds-87c5d302fcece010e17b256db4d60f7ff5e40fec.tar.gz
slackbuilds-87c5d302fcece010e17b256db4d60f7ff5e40fec.tar.xz
libraries/cln: Updated for version 1.3.4 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cln/cln.SlackBuild')
-rw-r--r--libraries/cln/cln.SlackBuild21
1 files changed, 6 insertions, 15 deletions
diff --git a/libraries/cln/cln.SlackBuild b/libraries/cln/cln.SlackBuild
index 62c160f9a5..4cd6164218 100644
--- a/libraries/cln/cln.SlackBuild
+++ b/libraries/cln/cln.SlackBuild
@@ -22,8 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cln
-VERSION=1.3.2
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.3.4}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,12 +66,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Apply some patches from git
-for i in $CWD/patches/* ; do patch -p1 < $i ; done
-
-autoreconf -i
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -90,19 +85,15 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
-cp -a \
- COPYING INSTALL* NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- examples/*.cc examples/*.1 \
- $PKG/usr/doc/$PRGNAM-$VERSION/examples
+cp -a COPYING INSTALL* NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a examples/*.cc examples/*.1 $PKG/usr/doc/$PRGNAM-$VERSION/examples
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/man -type f -exec gzip -9 {} \;