diff options
Diffstat (limited to 'libraries/libcec/libcec.SlackBuild')
-rw-r--r-- | libraries/libcec/libcec.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild index ab181798dc..59e9d7ea5b 100644 --- a/libraries/libcec/libcec.SlackBuild +++ b/libraries/libcec/libcec.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=libcec -VERSION=${VERSION:-1.6.2} +VERSION=${VERSION:-2.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,18 +38,12 @@ fi set -e -if [ -r $CWD/$PRGNAM-$VERSION ]; then - mv $CWD/$PRGNAM-$VERSION $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-ge14b158.tar.gz -fi - -DIRNAME=$(tar -tf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-ge14b158.tar.gz | head -1) - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $DIRNAME -tar xvf $CWD/Pulse-Eight-libcec-$PRGNAM-$VERSION-0-ge14b158.tar.gz -cd $DIRNAME +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -66,6 +60,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --enable-static=no \ --disable-dependency-tracking \ + --disable-silent-rules \ --build=$ARCH-slackware-linux make @@ -74,6 +69,9 @@ make install DESTDIR=$PKG 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 +install -D -m 0644 debian/cec-client.1 $PKG/usr/man/man1/cec-client.1 +find $PKG/usr/man -type f -exec gzip -9 {} \; + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |