mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libiec61883: Added to 12.0 repository
This commit is contained in:
parent
3740b5799e
commit
4d3d131e73
4 changed files with 101 additions and 0 deletions
10
libraries/libiec61883/README
Normal file
10
libraries/libiec61883/README
Normal file
|
@ -0,0 +1,10 @@
|
|||
This library is an implementation of IEC 61883, part 1 (CIP, plug registers
|
||||
and CMP), part 2 (DV-SD), part 4 (MPEG2-TS), and part 6 (AMDTP). Outside of
|
||||
IIDC, nearly all FireWire multimedia devices use IEC 61883 protocols.
|
||||
|
||||
The libiec61883 library provides a higher level API for streaming DV, MPEG-2
|
||||
and audio over Linux IEEE 1394. This includes both reception and transmission.
|
||||
It uses the new "rawiso" API of libraw1394, which transparently provides
|
||||
mmap-ed DMA for efficient data transfer.
|
||||
|
||||
This requires libraw1394 (available at SlackBuilds.org).
|
64
libraries/libiec61883/libiec61883.SlackBuild
Normal file
64
libraries/libiec61883/libiec61883.SlackBuild
Normal file
|
@ -0,0 +1,64 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Pierre Cazenave revision date 11/11/2007
|
||||
# Modified by Robby Workman <rworkman@slackbuilds.org> for better
|
||||
# consistency with our other scripts
|
||||
|
||||
PRGNAM=libiec61883
|
||||
VERSION=1.1.0
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
rm -rf $TMP/$PRGNAM-$VERSION $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--disable-static
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
8
libraries/libiec61883/libiec61883.info
Normal file
8
libraries/libiec61883/libiec61883.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="libiec61883"
|
||||
VERSION="1.1.0"
|
||||
HOMEPAGE="http://www.linux1394.org/"
|
||||
DOWNLOAD="http://www.linux1394.org/dl/libiec61883-1.1.0.tar.gz"
|
||||
MD5SUM="08f46840912ae2032499186228842a32"
|
||||
MAINTAINER="Pierre Cazenave"
|
||||
EMAIL="pwcazenave@gmail.com"
|
||||
APPROVED="rworkman"
|
19
libraries/libiec61883/slack-desc
Normal file
19
libraries/libiec61883/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||
# the right side marks the last column you can put a character in. You must make
|
||||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------|
|
||||
libiec61883: libiec61883 (implementation of IEC 61883, part 1)
|
||||
libiec61883:
|
||||
libiec61883: This library is an implementation of IEC 61883, part 1 (CIP,
|
||||
libiec61883: plug registers, and CMP), part 2 (DV-SD), part 4 (MPEG2-TS),
|
||||
libiec61883: and part 6 (AMDTP). Outside of IIDC, nearly all FireWire
|
||||
libiec61883: multimedia devices use IEC 61883 protocols.
|
||||
libiec61883: The libiec61883 library provides a higher level API for
|
||||
libiec61883: streaming DV, MPEG-2 and audio over Linux IEEE 1394. This
|
||||
libiec61883: includes both reception and transmission. It uses the new
|
||||
libiec61883: "rawiso" API of libraw1394, which transparently provides
|
||||
libiec61883: mmap-ed DMA for efficient data transfer.
|
Loading…
Reference in a new issue