summaryrefslogtreecommitdiff
path: root/libraries/libpseudo/libpseudo.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-08-25 11:10:32 -0400
committerB. Watson <yalhcru@gmail.com>2017-08-25 11:10:32 -0400
commitd0901f0b1feeb07ce3b1ff0fbe793b284f91d28e (patch)
tree799e03ce4115536ff2bd9ef6b96a6c9c2f4a74ab /libraries/libpseudo/libpseudo.SlackBuild
parent0777e9f54a3396e2946a476cafe1b5591a47db65 (diff)
downloadslackbuilds-d0901f0b1feeb07ce3b1ff0fbe793b284f91d28e.tar.gz
libraries/libpseudo: New maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/libpseudo/libpseudo.SlackBuild')
-rw-r--r--libraries/libpseudo/libpseudo.SlackBuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/libraries/libpseudo/libpseudo.SlackBuild b/libraries/libpseudo/libpseudo.SlackBuild
index e29b6c1b4f..2f9df2127f 100644
--- a/libraries/libpseudo/libpseudo.SlackBuild
+++ b/libraries/libpseudo/libpseudo.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for libpseudo.
#
-# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
+# Copyright 2009 Pierre Cazenave <email removed>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,6 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Previously maintained by Gerardo Zamudio.
+# Now maintained by B. Watson, yalhcru@gmail.com.
+
+# 20170825 bkw:
+# - take over maintenance.
+# - don't install useless INSTALL in /usr/doc.
+# - simplify script a bit.
+
PRGNAM=libpseudo
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
@@ -63,28 +71,20 @@ rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM
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 {} \;
+chmod 644 *
# use a custom patch to fix paths in the Makefile
patch -p0 < $CWD/libpseudo-1.2.0-Makefile.patch
make CFLAGS="$SLKCFLAGS"
+strip $PRGNAM.so
make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
-find $PKG | xargs 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/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc