diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2015-02-26 13:19:08 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2015-02-26 13:19:08 +0000 |
commit | 66e513aa9b334896aa365ad073c872d8cea8f929 (patch) | |
tree | 4746ebd2fe5831b188831070a730e543fabed6af /net/asterisk-g72x | |
parent | e9c4d8716b871480f1a2a9dfe725841379614075 (diff) | |
download | ports-66e513aa9b334896aa365ad073c872d8cea8f929.tar.gz ports-66e513aa9b334896aa365ad073c872d8cea8f929.zip |
G.729 codec for Asterisk PBX based on audio/bcg729.
Notes
Notes:
svn path=/head/; revision=380002
Diffstat (limited to 'net/asterisk-g72x')
-rw-r--r-- | net/asterisk-g72x/Makefile | 44 | ||||
-rw-r--r-- | net/asterisk-g72x/distinfo | 2 | ||||
-rw-r--r-- | net/asterisk-g72x/pkg-descr | 3 |
3 files changed, 49 insertions, 0 deletions
diff --git a/net/asterisk-g72x/Makefile b/net/asterisk-g72x/Makefile new file mode 100644 index 000000000000..4f66516e3df9 --- /dev/null +++ b/net/asterisk-g72x/Makefile @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= asterisk-g72x +PORTVERSION= 1.3 +CATEGORIES= net +MASTER_SITES= http://asterisk.hosting.lv/src/ + +MAINTAINER= madpilot@FreeBSD.org +COMMENT= G.729 codec for Asterisk PBX + +LIB_DEPENDS= libbcg729.so:${PORTSDIR}/audio/bcg729 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-bcg729 +USES= autoreconf libtool tar:bzip2 +NO_OPTIONS_SORT= yes + +LDFLAGS+= -L${LOCALBASE}/lib + +PLIST_FILES= lib/asterisk/modules/codec_g729.so + +OPTIONS_SINGLE= ASTVER +OPTIONS_SINGLE_ASTVER= ASTERISK18 ASTERISK11 ASTERISK13 + +OPTIONS_DEFAULT= ASTERISK11 + +ASTERISK18_DESC= Depend on Asterisk 1.8 +ASTERISK11_DESC= Depend on Asterisk 11 +ASTERISK13_DESC= Depend on Asterisk 13 + +ASTERISK18_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk +ASTERISK18_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk +ASTERISK18_CONFIGURE_ON= --with-asterisk18 +ASTERISK11_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk11 +ASTERISK11_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk11 +ASTERISK11_CONFIGURE_ON= --with-asterisk100 +ASTERISK13_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13 +ASTERISK13_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13 +ASTERISK13_CONFIGURE_ON= --with-asterisk130 + +post-build: + ${STRIP_CMD} ${WRKSRC}/.libs/codec_g729.so + +.include <bsd.port.mk> diff --git a/net/asterisk-g72x/distinfo b/net/asterisk-g72x/distinfo new file mode 100644 index 000000000000..09234196e195 --- /dev/null +++ b/net/asterisk-g72x/distinfo @@ -0,0 +1,2 @@ +SHA256 (asterisk-g72x-1.3.tar.bz2) = fcfe8f909dab520b15f923ad67856ae81face5ddd5cbea5450fe2b4422e27e15 +SIZE (asterisk-g72x-1.3.tar.bz2) = 125122 diff --git a/net/asterisk-g72x/pkg-descr b/net/asterisk-g72x/pkg-descr new file mode 100644 index 000000000000..e1f52dbe1308 --- /dev/null +++ b/net/asterisk-g72x/pkg-descr @@ -0,0 +1,3 @@ +G.729 codec for Asterisk PBX based on audio/bcg729. + +WWW: http://asterisk.hosting.lv/ |