diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:08:41 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-13 00:08:41 +0200 |
commit | d4c68edbc2d85636757f20fac24515d807226d06 (patch) | |
tree | 91c2340a86198d37360cd081cd200ad21233489c /network | |
parent | bc772177c2aa4ecfe2be6825956ce3fa6394f5f4 (diff) | |
download | slackbuilds-d4c68edbc2d85636757f20fac24515d807226d06.tar.gz |
network/ilbc: Removed from 13.0 repository
Diffstat (limited to 'network')
-rw-r--r-- | network/ilbc/README | 4 | ||||
-rw-r--r-- | network/ilbc/configure | 70 | ||||
-rw-r--r-- | network/ilbc/extract-code.sh | 81 | ||||
-rw-r--r-- | network/ilbc/gips_iLBClicense.pdf | bin | 47033 -> 0 bytes | |||
-rw-r--r-- | network/ilbc/ilbc.SlackBuild | 83 | ||||
-rw-r--r-- | network/ilbc/ilbc.info | 8 | ||||
-rw-r--r-- | network/ilbc/slack-desc | 19 |
7 files changed, 0 insertions, 265 deletions
diff --git a/network/ilbc/README b/network/ilbc/README deleted file mode 100644 index bca15d2b9b..0000000000 --- a/network/ilbc/README +++ /dev/null @@ -1,4 +0,0 @@ -iLBC (internet Low Bitrate Codec) is a speech codec suitable for robust voice -communication over IP, and is designed for narrow band speech. The iLBC -codec enables graceful speech quality degradation in the case of lost frames, -which occurs in connection with lost or delayed IP packets. diff --git a/network/ilbc/configure b/network/ilbc/configure deleted file mode 100644 index 5efa4417fb..0000000000 --- a/network/ilbc/configure +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh - -# Copyright 2008 Mauro Giachero (mauro dot giachero at gmail dot com) -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Prepare iLBC build environment - -set -e - -# [1/2] Prepare some basic documentation -cat >COPYING <<EOF -The iLBC license is contained in gips_iLBClicense-1.pdf. - -If not locally available, you can fetch it from - http://www.ilbcfreeware.org/documentation/gips_iLBClicense.pdf -EOF - -# [2/2] Create a simple ilbc Makefile. -SOURCES=`echo *.c` - -cat >Makefile <<EOF -NAME = ilbc - -LIBNAME = lib\$(NAME).so -SOURCES = $SOURCES -OBJECTS = \$(SOURCES:%.c=%.o) - -CFLAGS = $CFLAGS - -DESTDIR ?= - -.PHONY: all install clean distclean - -all: \$(LIBNAME) - -\$(LIBNAME): \$(OBJECTS) - \$(CC) -lm -shared -o \$(LIBNAME) \$(OBJECTS) - -%.o: %.c - \$(CC) \$(CFLAGS) -c -o \$@ \$< - -clean: - rm -f \$(LIBNAME) \$(OBJECTS) - -distclean: clean - rm -f Makefile - -install: - mkdir -p \$(DESTDIR)/usr/lib - cp \$(LIBNAME) \$(DESTDIR)/usr/lib - mkdir -p \$(DESTDIR)/usr/include/\$(NAME) - cp *.h \$(DESTDIR)/usr/include/\$(NAME) -EOF diff --git a/network/ilbc/extract-code.sh b/network/ilbc/extract-code.sh deleted file mode 100644 index 58202d1fe7..0000000000 --- a/network/ilbc/extract-code.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -# Copyright 2008 Mauro Giachero (mauro dot giachero at gmail dot com) -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# This script extracts the source code files from rfc3951.txt, which -# should be fed from stdin. -# The first command line parameter, if provided, is used as the -# extraction folder. - -set -e - -FILENAME="" - -# Create the extraction folder -if [ "$1" != "" ] ; then - mkdir -p "$1" - cd "$1" -fi - -# Jump to appendix A -while :; do - if ! IFS= read LINE ; then - echo "Error: file ended prematurely." >&2 - exit 1 - fi - - if [ "$LINE" = "APPENDIX A. Reference Implementation" ]; then - break - fi -done - -# Read the source code -while :; do - if ! IFS= read LINE ; then - break - fi - - if [ "${LINE:0:2}" = "A." ]; then # Source file begin - FILENAME=`echo ${LINE:6}` - if [ -e $FILENAME ]; then - echo "Error: file '$FILENAME' already exists!" - exit 2 - fi - echo "$FILENAME" - elif [ "${LINE:0:8}" = "Andersen" ]; then # Footer - continue - elif [ "${LINE:0:3}" = "RFC" ]; then # Header - continue - elif [ "$LINE" = "Authors' Addresses" ]; then # Appendix end - break - elif [ "$FILENAME" != "" ]; then # File content - echo "$LINE" >>$FILENAME - fi -done - -# One extra check, just in case -if [ "$FILENAME" = "" ]; then - echo "Error: no source file found!" - exit 3 -fi - -# Apparently everything went ok -exit 0 diff --git a/network/ilbc/gips_iLBClicense.pdf b/network/ilbc/gips_iLBClicense.pdf Binary files differdeleted file mode 100644 index b3a40c6ba7..0000000000 --- a/network/ilbc/gips_iLBClicense.pdf +++ /dev/null diff --git a/network/ilbc/ilbc.SlackBuild b/network/ilbc/ilbc.SlackBuild deleted file mode 100644 index 54de52d37d..0000000000 --- a/network/ilbc/ilbc.SlackBuild +++ /dev/null @@ -1,83 +0,0 @@ -#!/bin/sh - -# Slackware build script for ilbc - -# Copyright 2008 Mauro Giachero (mauro dot giachero at gmail dot com) -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=ilbc -VERSION=${VERSION:-rfc3951} -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 - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -# Code extraction is peculiar... -sh $CWD/extract-code.sh $PRGNAM-$VERSION < $CWD/$VERSION.txt -cp $CWD/configure $PRGNAM-$VERSION -cd $PRGNAM-$VERSION -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure - -make -make install DESTDIR=$PKG - -( cd $PKG - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION -for i in $PRGNAM.SlackBuild configure extract-code.sh gips_iLBClicense.pdf ; - do cat $CWD/$i > $PKG/usr/doc/$PRGNAM-$VERSION/$i ; -done -chown -R root:root $PKG/usr/doc/ - -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 diff --git a/network/ilbc/ilbc.info b/network/ilbc/ilbc.info deleted file mode 100644 index ee553727ba..0000000000 --- a/network/ilbc/ilbc.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="ilbc" -VERSION="rfc3951" -HOMEPAGE="http://www.ilbcfreeware.org/" -DOWNLOAD="http://www.ietf.org/rfc/rfc3951.txt" -MD5SUM="984affd9bf2053064d744a2ccec82289" -MAINTAINER="Mauro Giachero" -EMAIL="mauro dot giachero at gmail dot com" -APPROVED="rworkman" diff --git a/network/ilbc/slack-desc b/network/ilbc/slack-desc deleted file mode 100644 index a6c0a2801d..0000000000 --- a/network/ilbc/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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------------------------------------------------------| -ilbc: iLBC (internet Low Bitrate Codec) -ilbc: -ilbc: iLBC is a speech codec suitable for robust voice communication over -ilbc: IP, and is designed for narrow band speech. The iLBC codec enables -ilbc: graceful speech quality degradation in the case of lost frames, which -ilbc: occurs in connection with lost or delayed IP packets. -ilbc: iLBC is free for non-commercial use. Please read the full license -ilbc: for details and how to use iLBC in commercial applications. -ilbc: -ilbc: Homepage: http://www.ilbcfreeware.org/ -ilbc: |