summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/ilbc-rfc3951')
-rw-r--r--dev-libs/ilbc-rfc3951/Manifest1
-rw-r--r--dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch11
-rw-r--r--dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild28
-rw-r--r--dev-libs/ilbc-rfc3951/metadata.xml8
4 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/ilbc-rfc3951/Manifest b/dev-libs/ilbc-rfc3951/Manifest
new file mode 100644
index 000000000000..fc696f6dee15
--- /dev/null
+++ b/dev-libs/ilbc-rfc3951/Manifest
@@ -0,0 +1 @@
+DIST ilbc-rfc3951.tar.gz 330306 SHA256 5aef41a94f1a752b07190b5d2880128af251d9559d28a004ebfff228695caa57 SHA512 7828a9c5a193ebdfcb383d1edad0868afdee0f71d1a8a878c7d9ea2078fd63f57d31b34ae2cf4890d5abc28c8f5f4ee940c665a126f0512d1e79c4f76a72fbcf WHIRLPOOL 90d09de8b2f7165f70cbd9c19418549e82e0a5e93c13e6ee7c4c808b2f50acb2a068908085d5d3004472a4e64b021eb18560915d434a34f578ace2fc4c9e4bdd
diff --git a/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch b/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch
new file mode 100644
index 000000000000..8cc197d20626
--- /dev/null
+++ b/dev-libs/ilbc-rfc3951/files/ilbc-rfc3951-asneeded.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am.orig 2006-07-11 01:18:20.000000000 +1000
++++ src/Makefile.am 2006-07-11 01:21:20.000000000 +1000
+@@ -10,6 +10,8 @@
+ doCPLC.c gainquant.c hpOutput.c iLBC_define.h lsf.c syntFilter.c \
+ doCPLC.h gainquant.h hpOutput.h iLBC_encode.c lsf.h syntFilter.h
+
++libilbc_la_LIBADD=-lm
++
+ ilbc_includedir=$(includedir)/ilbc
+ ilbc_include_HEADERS=iLBC_decode.h iLBC_encode.h iLBC_define.h
+
diff --git a/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild
new file mode 100644
index 000000000000..daa1b0cc8a3d
--- /dev/null
+++ b/dev-libs/ilbc-rfc3951/ilbc-rfc3951-0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils autotools
+
+DESCRIPTION="iLBC (internet Low Bitrate Codec) is a speech codec suitable for robust voice communication over IP"
+HOMEPAGE="http://www.ilbcfreeware.org/"
+SRC_URI="http://simon.morlat.free.fr/download/1.1.x/source/ilbc-rfc3951.tar.gz"
+
+# relicensed under 3-clause BSD license, bug 390797
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc ppc64 sparc x86"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-asneeded.patch
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+}
diff --git a/dev-libs/ilbc-rfc3951/metadata.xml b/dev-libs/ilbc-rfc3951/metadata.xml
new file mode 100644
index 000000000000..5edeab0036ec
--- /dev/null
+++ b/dev-libs/ilbc-rfc3951/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>chainsaw@gentoo.org</email>
+<name>Tony Vroon</name>
+</maintainer>
+</pkgmetadata>