summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-10-15 13:55:16 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-22 08:47:29 +0700
commit5b9155be1a04140a47d2fd79d360807f2dde0a38 (patch)
treeaf58c26c8c6429f4060364bbc89e1cd04f7fbd4a /system
parentf8a5ecc87afeda013803dc68de57c900fd9ce121 (diff)
downloadslackbuilds-5b9155be1a04140a47d2fd79d360807f2dde0a38.tar.gz
system/linuxconsoletools: Updated for version 1.6.0.
Diffstat (limited to 'system')
-rw-r--r--system/linuxconsoletools/linuxconsoletools.SlackBuild17
-rw-r--r--system/linuxconsoletools/linuxconsoletools.info6
2 files changed, 10 insertions, 13 deletions
diff --git a/system/linuxconsoletools/linuxconsoletools.SlackBuild b/system/linuxconsoletools/linuxconsoletools.SlackBuild
index 53593fb9bb..280fd139b6 100644
--- a/system/linuxconsoletools/linuxconsoletools.SlackBuild
+++ b/system/linuxconsoletools/linuxconsoletools.SlackBuild
@@ -29,8 +29,10 @@
# 20160726 bkw: update for v1.5.1
+# 20161015 bkw: update for v1.6.0
+
PRGNAM=linuxconsoletools
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,23 +81,18 @@ find -L . \
# install manpages in /usr/man instead of /usr/share/man
sed -i 's,share/man,man,g' docs/Makefile
-# No ./configure provided
-make CFLAGS="$SLKCFLAGS" PREFIX=/usr
+# -Wl,-s strips the bins.
+make CFLAGS="$SLKCFLAGS" LDFLAGS="-Wl,-s" PREFIX=/usr
make install DESTDIR=$PKG PREFIX=/usr
+gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/lib/udev/rules.d/
install -m 0644 $CWD/90-joystick.rules $PKG/lib/udev/rules.d/90-joystick.rules
mkdir -p $PKG/var/lib/joystick
-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
-cp -a COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING NEWS README docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/linuxconsoletools/linuxconsoletools.info b/system/linuxconsoletools/linuxconsoletools.info
index d52ad0987d..7712db4b3a 100644
--- a/system/linuxconsoletools/linuxconsoletools.info
+++ b/system/linuxconsoletools/linuxconsoletools.info
@@ -1,8 +1,8 @@
PRGNAM="linuxconsoletools"
-VERSION="1.5.1"
+VERSION="1.6.0"
HOMEPAGE="http://sourceforge.net/projects/linuxconsole/"
-DOWNLOAD="http://downloads.sourceforge.net/linuxconsole/linuxconsoletools-1.5.1.tar.bz2"
-MD5SUM="86b5c4e8fb6c91c5b7e9298f7dfe5b3e"
+DOWNLOAD="http://downloads.sourceforge.net/linuxconsole/linuxconsoletools-1.6.0.tar.bz2"
+MD5SUM="fd52fa4a81455eb95a6c81efb087ce98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""