aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-05 07:10:40 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-05 07:10:40 +0000
commit07224b4a4cc5f25b1af1f9c91f483044479a8894 (patch)
tree6a20dc4ad7f6f7cb8bddd0b8e5f48f244da91c9a
parent44017533d8cd0d476b8d71a95d258e0e1d922d33 (diff)
downloadports-07224b4a4cc5f25b1af1f9c91f483044479a8894.tar.gz
ports-07224b4a4cc5f25b1af1f9c91f483044479a8894.zip
Notes
-rw-r--r--audio/Makefile1
-rw-r--r--audio/libamrnb/Makefile36
-rw-r--r--audio/libamrnb/distinfo3
-rw-r--r--audio/libamrnb/pkg-descr4
-rw-r--r--audio/libamrnb/pkg-plist22
5 files changed, 66 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 56319f9bb039..bf559cd16ad2 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -289,6 +289,7 @@
SUBDIR += liba52-devel
SUBDIR += libadplug
SUBDIR += libaiff
+ SUBDIR += libamrnb
SUBDIR += libao
SUBDIR += libaudiofile
SUBDIR += libcdaudio
diff --git a/audio/libamrnb/Makefile b/audio/libamrnb/Makefile
new file mode 100644
index 000000000000..6a55eb187c32
--- /dev/null
+++ b/audio/libamrnb/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: libamrnb
+# Date created: 30 May 2007
+# Whom: Tatsuki Makino <tatsuki_makino@hotmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libamrnb
+PORTVERSION= 6.1.0.4
+CATEGORIES= audio
+MASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/testing/ \
+ http://ftp.penguin.cz/pub/users/utx/amr/
+DISTNAME= amrnb-${DISTVERSION}rc1
+
+MAINTAINER= tatsuki_makino@hotmail.com
+COMMENT= The floating-point Adaptive Multi Rate speech codec libraries
+
+BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget \
+ ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \
+ bash:${PORTSDIR}/shells/bash
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+WRKSRC= ${WRKDIR}/amrnb-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --srcdir=${WRKSRC}
+CONFIGURE_ENV+= LANG=C
+USE_LDCONFIG= yes
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e "s!(/bin/bash)!${LOCALBASE}\\1!" \
+ ${WRKSRC}/prepare_sources.sh
+
+.include <bsd.port.mk>
diff --git a/audio/libamrnb/distinfo b/audio/libamrnb/distinfo
new file mode 100644
index 000000000000..46692858de99
--- /dev/null
+++ b/audio/libamrnb/distinfo
@@ -0,0 +1,3 @@
+MD5 (amrnb-6.1.0.4rc1.tar.bz2) = fec94b263e42e7a20bf7631c823a225c
+SHA256 (amrnb-6.1.0.4rc1.tar.bz2) = 517716365c0ac9c056d55aa90429356bdab1f970726fc680360136cbd25b4408
+SIZE (amrnb-6.1.0.4rc1.tar.bz2) = 408797
diff --git a/audio/libamrnb/pkg-descr b/audio/libamrnb/pkg-descr
new file mode 100644
index 000000000000..94a504f3b953
--- /dev/null
+++ b/audio/libamrnb/pkg-descr
@@ -0,0 +1,4 @@
+The floating-point Adaptive Multi Rate (AMR) speech codec libraries, based on
+the reference implementation.
+
+WWW: http://www.penguin.cz/~utx/amr
diff --git a/audio/libamrnb/pkg-plist b/audio/libamrnb/pkg-plist
new file mode 100644
index 000000000000..c6ee8238068d
--- /dev/null
+++ b/audio/libamrnb/pkg-plist
@@ -0,0 +1,22 @@
+bin/amrnb-decoder
+bin/amrnb-encoder
+bin/amrnb-decoder-if2
+bin/amrnb-encoder-if2
+bin/amrnb-decoder-etsi
+bin/amrnb-encoder-etsi
+bin/amrnb-encoder-vad2
+bin/amrnb-encoder-if2-vad2
+bin/amrnb-encoder-etsi-vad2
+include/amrnb/interf_dec.h
+include/amrnb/interf_enc.h
+include/amrnb/interf_rom.h
+include/amrnb/rom_dec.h
+include/amrnb/rom_enc.h
+include/amrnb/sp_dec.h
+include/amrnb/sp_enc.h
+include/amrnb/typedef.h
+lib/libamrnb.so.2
+lib/libamrnb.so
+lib/libamrnb.la
+lib/libamrnb.a
+@dirrm include/amrnb