summaryrefslogtreecommitdiff
path: root/libraries/libunique/libunique.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:32:04 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:32:04 +0200
commit9cb0403dbf17f901f66d11ee7fd05790a4c8d69e (patch)
tree9d8f0bb8cf88ee72e881eafa2486888b02fe49ce /libraries/libunique/libunique.SlackBuild
parentb6c5028c411a7d794c75efddb0fbea19067af9e2 (diff)
downloadslackbuilds-9cb0403dbf17f901f66d11ee7fd05790a4c8d69e.tar.gz
libraries/libunique: Updated for version 1.1.6
Diffstat (limited to 'libraries/libunique/libunique.SlackBuild')
-rw-r--r--libraries/libunique/libunique.SlackBuild20
1 files changed, 15 insertions, 5 deletions
diff --git a/libraries/libunique/libunique.SlackBuild b/libraries/libunique/libunique.SlackBuild
index 2b83ae04ba..232c011271 100644
--- a/libraries/libunique/libunique.SlackBuild
+++ b/libraries/libunique/libunique.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=libunique
-VERSION=${VERSION:-1.0.8}
+VERSION=${VERSION:-1.1.6}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,14 +46,24 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --disable-dependency-tracking \
--enable-static=no \
- --enable-debug=no \
+ --enable-dbus=yes \
+ --enable-bacon=yes \
+ --enable-introspection=no \
+ --disable-dependency-tracking \
--with-x \
+ --enable-debug=no \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "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 \
@@ -65,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}