summaryrefslogtreecommitdiff
path: root/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/totem-pl-parser/totem-pl-parser.SlackBuild')
-rw-r--r--libraries/totem-pl-parser/totem-pl-parser.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/libraries/totem-pl-parser/totem-pl-parser.SlackBuild b/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
index ffe5d58d50..62f88369b9 100644
--- a/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
+++ b/libraries/totem-pl-parser/totem-pl-parser.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for totem-pl-parser
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=totem-pl-parser
-VERSION=${VERSION:-2.28.3}
+VERSION=${VERSION:-2.32.5}
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 \
@@ -63,16 +64,16 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--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 V=1
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README \
+ ABOUT-NLS AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
+cd $PKG/usr/doc/$PRGNAM-$VERSION
+ ln -sf ../../share/gtk-doc/html/$PRGNAM html
+cd -
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install