diff options
-rw-r--r-- | libraries/libcec/libcec.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/libcec/libcec.info | 8 |
2 files changed, 12 insertions, 14 deletions
diff --git a/libraries/libcec/libcec.SlackBuild b/libraries/libcec/libcec.SlackBuild index ab181798dcc34..59e9d7ea5b64d 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 diff --git a/libraries/libcec/libcec.info b/libraries/libcec/libcec.info index 31ba65a674a0d..28c0506227468 100644 --- a/libraries/libcec/libcec.info +++ b/libraries/libcec/libcec.info @@ -1,10 +1,10 @@ PRGNAM="libcec" -VERSION="1.6.2" +VERSION="2.0.4" HOMEPAGE="http://libcec.pulse-eight.com/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/Pulse-Eight-libcec-libcec-1.6.2-0-ge14b158.tar.gz" -MD5SUM="e3bb127b42b99f5904c757cc95e02e43" +DOWNLOAD="https://github.com/Pulse-Eight/libcec/archive/libcec-2.0.4.tar.gz" +MD5SUM="6eaa3c824ab3a1b765dc2c9f2a14d6a0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="lockdev" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" |