summaryrefslogtreecommitdiff
path: root/libraries/hug
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/hug')
-rw-r--r--libraries/hug/hug.SlackBuild13
-rw-r--r--libraries/hug/hug.info10
2 files changed, 11 insertions, 12 deletions
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 <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
diff --git a/libraries/hug/hug.info b/libraries/hug/hug.info
index 2cdd1c27f9..3495a22406 100644
--- a/libraries/hug/hug.info
+++ b/libraries/hug/hug.info
@@ -1,10 +1,10 @@
PRGNAM="hug"
-VERSION="0.80"
+VERSION="0.100"
HOMEPAGE="http://basic-converter.org"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/bacon/hug.bac \
- http://ponce.cc/slackware/sources/repo/bacon/hug_imports.bac"
-MD5SUM="c2feb00c90dda8e63e1a0a668afc24bc \
- 59af9df417688dd1cb95e5f31744dae7"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/hug/hug.bac \
+ http://sourceforge.net/projects/slackbuildsdirectlinks/files/hug/hug_imports.bac"
+MD5SUM="0d219bbabaa739d412d013bee3bc6521 \
+ 3ac6fb6dcb02826a1eb9839a201ee821"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="bacon"