summaryrefslogtreecommitdiff
path: root/libraries/libglademm
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-24 13:25:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-24 13:25:02 +0700
commit1b3ad0e7427d131ae915864a9a3fc62ed2e2cd04 (patch)
tree4905bf156c183868e7d647408a7db58c425680d0 /libraries/libglademm
parentd05500439747aece66c8918fdeb70f34513c2998 (diff)
downloadslackbuilds-1b3ad0e7427d131ae915864a9a3fc62ed2e2cd04.tar.gz
libraries/libglademm: Remove unknown parameters + script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libglademm')
-rw-r--r--libraries/libglademm/libglademm.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/libraries/libglademm/libglademm.SlackBuild b/libraries/libglademm/libglademm.SlackBuild
index e33304c12c..850ff2265e 100644
--- a/libraries/libglademm/libglademm.SlackBuild
+++ b/libraries/libglademm/libglademm.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libglademm
-VERSION=2.6.7
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.6.7}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,7 +65,7 @@ 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 \
+ -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 {} \;
@@ -77,21 +77,16 @@ CXXFLAGS="$SLKCFLAGS"
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-perl=/usr/bin/perl \
- --enable-eps \
- --enable-gif \
- --enable-png \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-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/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
# We don't need all the reference docs - they're in the source