summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-12 17:15:52 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-12 18:07:12 -0500
commit679cbdcb7447440c6619994320a10df8e5a3452d (patch)
tree13f7a2308ba724fc40468fe5715bffbadd1051fe
parentdbfd826b2eab4a2590964ee4babeb4baa3dd0ef4 (diff)
downloadslackbuilds-679cbdcb7447440c6619994320a10df8e5a3452d.tar.gz
system/vlock: Fixed homepage and download link
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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=""