summaryrefslogtreecommitdiff
path: root/system/vlock/vlock.SlackBuild
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 /system/vlock/vlock.SlackBuild
parentdbfd826b2eab4a2590964ee4babeb4baa3dd0ef4 (diff)
downloadslackbuilds-679cbdcb7447440c6619994320a10df8e5a3452d.tar.gz
system/vlock: Fixed homepage and download link
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/vlock/vlock.SlackBuild')
-rw-r--r--system/vlock/vlock.SlackBuild11
1 files changed, 3 insertions, 8 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