diff options
Diffstat (limited to 'libraries/libunique/libunique.SlackBuild')
-rw-r--r-- | libraries/libunique/libunique.SlackBuild | 20 |
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} |