aboutsummaryrefslogtreecommitdiff
path: root/libraries/libdmapsharing/libdmapsharing.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libdmapsharing/libdmapsharing.SlackBuild')
-rw-r--r--libraries/libdmapsharing/libdmapsharing.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/libdmapsharing/libdmapsharing.SlackBuild b/libraries/libdmapsharing/libdmapsharing.SlackBuild
index 6d6af9d8ede6f..8733fa6c3685e 100644
--- a/libraries/libdmapsharing/libdmapsharing.SlackBuild
+++ b/libraries/libdmapsharing/libdmapsharing.SlackBuild
@@ -5,7 +5,7 @@
# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=libdmapsharing
-VERSION=${VERSION:-2.1.3}
+VERSION=${VERSION:-2.1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,6 +56,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --disable-static \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -64,14 +65,11 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README README-Memory TODO \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -80,4 +78,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-