mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
system/vlock: Fixed homepage and download link
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
dbfd826b2e
commit
679cbdcb74
2 changed files with 5 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue