diff options
Diffstat (limited to 'libraries/hug/hug.SlackBuild')
-rw-r--r-- | libraries/hug/hug.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libraries/hug/hug.SlackBuild b/libraries/hug/hug.SlackBuild index 8b5a06341e9f..d27cd1ac7d4b 100644 --- a/libraries/hug/hug.SlackBuild +++ b/libraries/hug/hug.SlackBuild @@ -5,7 +5,7 @@ # Written by Steve Pledger <spledger91@yahoo.com> 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 |