system/linuxconsoletools: Updated for version 1.6.0.

This commit is contained in:
B. Watson 2016-10-15 13:55:16 -04:00 committed by Willy Sudiarto Raharjo
parent f8a5ecc87a
commit 5b9155be1a
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 10 additions and 13 deletions

View file

@ -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

View file

@ -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=""