diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:59:01 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:59:01 +0200 |
commit | c35e88da5f06e04a656823c216deb3d4104f3360 (patch) | |
tree | baf1ab8a11b1731eea3969157af85fd9c6e2ee66 | |
parent | 9955c8399703ec8532013abc486037f257c95bbe (diff) | |
download | slackbuilds-c35e88da5f06e04a656823c216deb3d4104f3360.tar.gz |
libraries/live555: Added to 13.0 repository
-rw-r--r-- | libraries/live555/README | 3 | ||||
-rw-r--r-- | libraries/live555/live555.SlackBuild | 75 | ||||
-rw-r--r-- | libraries/live555/live555.info | 10 | ||||
-rw-r--r-- | libraries/live555/slack-desc | 19 |
4 files changed, 107 insertions, 0 deletions
diff --git a/libraries/live555/README b/libraries/live555/README new file mode 100644 index 0000000000..19169f135c --- /dev/null +++ b/libraries/live555/README @@ -0,0 +1,3 @@ +This code forms a set of C++ libraries for multimedia streaming, using open +standard protocols (RTP/RTCP, RTSP, SIP). These libraries can be used to +build streaming applications. diff --git a/libraries/live555/live555.SlackBuild b/libraries/live555/live555.SlackBuild new file mode 100644 index 0000000000..4c6e8e2ac4 --- /dev/null +++ b/libraries/live555/live555.SlackBuild @@ -0,0 +1,75 @@ +#!/bin/sh +# Heavily based on the Slackware 13.0 SlackBuild +# http://www.live555.com +# Packagers Gohanz ( gohanz@infinito.it) +# http://www.slacky.it + +# Modified for SlackBuilds.org by Erik Hanson <erik@slackbuilds.org> + +PRGNAM=live555 +SRCNAM=live +VERSION=${VERSION:-2010.01.11} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +case "$ARCH" in + i?86) LIBDIRSUFFIX="" ;; + x86_64) LIBDIRSUFFIX="64" ;; +esac + +set -eu + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +tar xvf $CWD/$SRCNAM.$VERSION.tar.gz +cd $SRCNAM +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +./genMakefiles linux +make + +mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/live/BasicUsageEnvironment/include +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/live/UsageEnvironment/include +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/live/groupsock/include +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/live/liveMedia/include + +find $TMP/$SRCNAM/testProgs/ -perm -755 -exec cp {} /$PKG/usr/bin \; +find $TMP/$SRCNAM/mediaServer/ -perm -755 -exec cp {} /$PKG/usr/bin \; +find $TMP/$SRCNAM/BasicUsageEnvironment/*.a -exec cp {} $PKG/usr/lib${LIBDIRSUFFIX}/live/BasicUsageEnvironment/ \; +cp -a $TMP/$SRCNAM/BasicUsageEnvironment/include/*.h* $PKG/usr/lib${LIBDIRSUFFIX}/live/BasicUsageEnvironment/include + +find $TMP/$SRCNAM/UsageEnvironment/*.a -exec cp {} $PKG/usr/lib${LIBDIRSUFFIX}/live/UsageEnvironment/ \; +cp -a $TMP/$SRCNAM/UsageEnvironment/include/*.h* $PKG/usr/lib${LIBDIRSUFFIX}/live/UsageEnvironment/include + +find $TMP/$SRCNAM/groupsock/*.a -exec cp {} $PKG/usr/lib${LIBDIRSUFFIX}/live/groupsock/ \; +cp -a $TMP/$SRCNAM/groupsock/include/*.h* $PKG/usr/lib${LIBDIRSUFFIX}/live/groupsock/include + +find $TMP/$SRCNAM/liveMedia/*.a -exec cp {} $PKG/usr/lib${LIBDIRSUFFIX}/live/liveMedia/ \; +cp -a $TMP/$SRCNAM/liveMedia/include/*.h* $PKG/usr/lib${LIBDIRSUFFIX}/live/liveMedia/include + +find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +find $PKG | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs strip -g 2> /dev/null + +rm $PKG/usr/bin/COPYING # Don't need this. +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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.${PKGTYPE:-tgz} diff --git a/libraries/live555/live555.info b/libraries/live555/live555.info new file mode 100644 index 0000000000..a88a68ee0b --- /dev/null +++ b/libraries/live555/live555.info @@ -0,0 +1,10 @@ +PRGNAM="live555" +VERSION="2010.01.11" +HOMEPAGE="http://www.live555.com/" +DOWNLOAD="http://slackbuilds.org/sources/13.0/live.2010.01.11.tar.gz" +MD5SUM="a7c84fdb957df5f053a3092d06bb4263" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="dsomero" diff --git a/libraries/live555/slack-desc b/libraries/live555/slack-desc new file mode 100644 index 0000000000..d2dd546b9c --- /dev/null +++ b/libraries/live555/slack-desc @@ -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------------------------------------------------------| +live555: Live555 (C++ libraries for multimedia streaming) +live555: +live555: This code forms a set of C++ libraries for multimedia streaming, +live555: using open standard protocols (RTP/RTCP, RTSP, SIP). These libraries +live555: can be used to build streaming applications. +live555: +live555: +live555: +live555: +live555: +live555: |