diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-12-26 08:58:05 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-26 21:36:44 +0100 |
commit | 0ca5cb261367c07226afba70dedc6f8881e8514c (patch) | |
tree | a87f58ecc0a5f9c9a0682cd6fea3e9bf586b4228 /libraries/libcec | |
parent | dda9331bd7afed45c8d0ef90050992d836977120 (diff) | |
download | slackbuilds-0ca5cb261367c07226afba70dedc6f8881e8514c.tar.gz slackbuilds-0ca5cb261367c07226afba70dedc6f8881e8514c.tar.xz |
libraries/libcec: Updated for version 2.0.4.
Noted the new dep lockdev and added manpage
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libcec')
-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 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 diff --git a/libraries/libcec/libcec.info b/libraries/libcec/libcec.info index 31ba65a674..28c0506227 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" |