aboutsummaryrefslogtreecommitdiff
path: root/gnunet/gnunet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gnunet/gnunet.SlackBuild')
-rwxr-xr-xgnunet/gnunet.SlackBuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/gnunet/gnunet.SlackBuild b/gnunet/gnunet.SlackBuild
index 0a00c26..89b906d 100755
--- a/gnunet/gnunet.SlackBuild
+++ b/gnunet/gnunet.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnunet
-VERSION=${VERSION:-0.15.3}
+VERSION=${VERSION:-0.21.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
@@ -60,14 +60,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION*.tar.gz
cd $PRGNAM-$VERSION
-#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 640 -o -perm 600 -o -perm 444 \
-# -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./configure \
--prefix=/usr \
@@ -79,9 +80,7 @@ cd $PRGNAM-$VERSION
--disable-static \
--build=$ARCH-slackware-linux
make
-make DESTDIR="$PKG" install
-
-# make install does not exist for this project
+DESTDIR="$PKG" make install
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