From ccea84b9da65c4289468e5d2bc6da0e2729d0cc7 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 7 Feb 2016 11:25:09 +0700 Subject: libraries/hug: Updated for version 0.100. Signed-off-by: Willy Sudiarto Raharjo --- libraries/hug/hug.SlackBuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libraries/hug/hug.SlackBuild') diff --git a/libraries/hug/hug.SlackBuild b/libraries/hug/hug.SlackBuild index 8b5a06341e..d27cd1ac7d 100644 --- a/libraries/hug/hug.SlackBuild +++ b/libraries/hug/hug.SlackBuild @@ -5,7 +5,7 @@ # Written by Steve Pledger PRGNAM=hug -VERSION=${VERSION:-0.80} +VERSION=${VERSION:-0.100} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,13 +63,12 @@ mkdir $PRGNAM-$VERSION cd $PRGNAM-$VERSION # Bacon creates a binary in the same location as the source, so copy the source file here. cat $CWD/hug.bac > hug.bac - chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Build shared object "hug.so" bacon -p -o $(echo $SLKCFLAGS | sed -e 's: : -o :g') -f hug.bac @@ -77,7 +76,7 @@ bacon -p -o $(echo $SLKCFLAGS | sed -e 's: : -o :g') -f hug.bac mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} install -m 0755 hug.so $PKG/usr/lib${LIBDIRSUFFIX} -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/include -- cgit v1.2.3