mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
libraries/libcec: Updated for version 2.0.4.
Noted the new dep lockdev and added manpage Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
dda9331bd7
commit
0ca5cb2613
2 changed files with 12 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue