summaryrefslogtreecommitdiff
path: root/libraries/gssdp/gssdp.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-15 01:12:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-16 01:33:35 +0700
commitb10e704b94ce790c9062a72afb5f1d7dc4d366ca (patch)
treeca88118e3fbcd523457d4a290ae0d0252e2de210 /libraries/gssdp/gssdp.SlackBuild
parent6df35a590108c6b5347119505cb404cdff08e359 (diff)
downloadslackbuilds-b10e704b94ce790c9062a72afb5f1d7dc4d366ca.tar.gz
libraries/gssdp: Updated for version 0.14.14.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gssdp/gssdp.SlackBuild')
-rw-r--r--libraries/gssdp/gssdp.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/libraries/gssdp/gssdp.SlackBuild b/libraries/gssdp/gssdp.SlackBuild
index d4e05be1b4..4a22417630 100644
--- a/libraries/gssdp/gssdp.SlackBuild
+++ b/libraries/gssdp/gssdp.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gssdp
-VERSION=${VERSION:-0.14.11}
+VERSION=${VERSION:-0.14.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,14 +60,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -77,19 +77,18 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-introspection=yes \
--disable-static \
--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 COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING INSTALL NEWS README doc/html/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install