summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/vlock/vlock.SlackBuild11
-rw-r--r--system/vlock/vlock.info4
2 files changed, 5 insertions, 10 deletions
diff --git a/system/vlock/vlock.SlackBuild b/system/vlock/vlock.SlackBuild
index 1b76e72c25..5fa65dbdc3 100644
--- a/system/vlock/vlock.SlackBuild
+++ b/system/vlock/vlock.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=vlock
VERSION=${VERSION:-2.2.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -54,24 +54,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-shadow
-make
+make CFLAGS="$SLKCFLAGS -Wall -W -pedantic -std=gnu99"
make install DESTDIR=$PKG VLOCK_GROUP="$VLOCK_GRP"
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a [A-Z][A-Z]* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/vlock/vlock.info b/system/vlock/vlock.info
index bff4527234..2503a7c22c 100644
--- a/system/vlock/vlock.info
+++ b/system/vlock/vlock.info
@@ -1,7 +1,7 @@
PRGNAM="vlock"
VERSION="2.2.3"
-HOMEPAGE="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
-DOWNLOAD="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/vlock-2.2.3.tar.gz"
+HOMEPAGE="http://freecode.com/projects/vlock"
+DOWNLOAD="ftp://harrier.slackbuilds.org/misc/vlock-2.2.3.tar.gz"
MD5SUM="378175c7692a8f288e65fd4dbf8a38eb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""