summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-03-05 04:21:12 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-03-05 04:21:12 +0000
commit5645ad39e4c0db4bde22b8f7969f0aa4e3598a73 (patch)
treefe5dd81327988c6e6b1107229ed6058822837481 /net-misc/asterisk-app_iconv
parentAdd res_bonjour-1.0_rc1 (diff)
downloadvoip-5645ad39e4c0db4bde22b8f7969f0aa4e3598a73.tar.gz
voip-5645ad39e4c0db4bde22b8f7969f0aa4e3598a73.tar.bz2
voip-5645ad39e4c0db4bde22b8f7969f0aa4e3598a73.zip
Add app_iconv-0.9.2, needs new patch, masked for now
svn path=/trunk/; revision=161
Diffstat (limited to 'net-misc/asterisk-app_iconv')
-rw-r--r--net-misc/asterisk-app_iconv/Manifest9
-rw-r--r--net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2.ebuild43
-rw-r--r--net-misc/asterisk-app_iconv/files/app_iconv-0.9.1-astcfg.diff35
-rw-r--r--net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.23
4 files changed, 90 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_iconv/Manifest b/net-misc/asterisk-app_iconv/Manifest
new file mode 100644
index 0000000..df8bbe3
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/Manifest
@@ -0,0 +1,9 @@
+MD5 3836413045de3ce2c90bcd9ee85d76b4 asterisk-app_iconv-0.9.2.ebuild 897
+RMD160 6ad39de8a515e6b7e4c24d4266b3971436bee1a8 asterisk-app_iconv-0.9.2.ebuild 897
+SHA256 823fef6889f73b6173414f97d63cda58eefda524734ea1b674cf41daf4494577 asterisk-app_iconv-0.9.2.ebuild 897
+MD5 3ddff38ac2c0b6083278ceef48ee2d29 files/app_iconv-0.9.1-astcfg.diff 877
+RMD160 9d54872bbd506bc7f93eca1dffe9b0b789da641b files/app_iconv-0.9.1-astcfg.diff 877
+SHA256 690aed1b1a572dbc31df3ebe1e5fad95e35562eea43e5e90a5e8e688ceab3b7e files/app_iconv-0.9.1-astcfg.diff 877
+MD5 10732c0b6d5ba7174af289258ca570c4 files/digest-asterisk-app_iconv-0.9.2 232
+RMD160 78648884884d9ab6e6da59ee2cc5715e14f1d61e files/digest-asterisk-app_iconv-0.9.2 232
+SHA256 38ab58e228375b438f4db3cdbb3478bed03905998ee1cd80cf6e85b1c6174f4c files/digest-asterisk-app_iconv-0.9.2 232
diff --git a/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2.ebuild b/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2.ebuild
new file mode 100644
index 0000000..b876d0f
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.1.ebuild,v 1.1 2005/08/27 20:58:57 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_iconv"
+
+DESCRIPTION="Asterisk application plugin for character conversion"
+HOMEPAGE="http://www.mezzo.net/asterisk/"
+SRC_URI="http://www.mezzo.net/asterisk/${MY_PN}-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+#KEYWORDS="~x86 ~ppc"
+KEYWORDS="-*"
+
+IUSE=""
+
+# depends on glibc's iconv support
+DEPEND="sys-libs/glibc
+ >=net-misc/asterisk-1.0.5-r1
+ !>=net-misc/asterisk-1.1.0"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # use asterisk-config...
+ epatch ${FILESDIR}/${MY_PN}-0.9.1-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc README CHANGES
+}
diff --git a/net-misc/asterisk-app_iconv/files/app_iconv-0.9.1-astcfg.diff b/net-misc/asterisk-app_iconv/files/app_iconv-0.9.1-astcfg.diff
new file mode 100644
index 0000000..a181ec8
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/files/app_iconv-0.9.1-astcfg.diff
@@ -0,0 +1,35 @@
+--- app_iconv/Makefile.orig 2005-08-27 23:02:02.000000000 +0000
++++ app_iconv/Makefile 2005-08-27 23:02:58.000000000 +0000
+@@ -8,15 +8,13 @@
+
+ NAME=app_iconv
+
+-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
++DESTDIR=
++
++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
+ LIBS=
+ RES=$(shell if [ -f /usr/include/asterisk/channel.h ]; then echo "$(NAME).so"; fi)
+
+-ifeq (${OSARCH},Darwin)
+-SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
+-else
+-SOLINK=-shared -Xlinker -x
+-endif
++SOLINK=$(shell /usr/bin/asterisk-config --solink)
+
+ MODULES_DIR=/usr/lib/asterisk/modules
+
+@@ -28,10 +26,8 @@
+ clean:
+ rm -f $(NAME).o $(NAME).so
+
+-install: all
+- if [ -f $(NAME).so ]; then \
+- install -m 755 $(NAME).so $(MODULES_DIR) ; \
+- fi
++install:
++ install -D -m 755 $(NAME).so $(DESTDIR)$(MODULES_DIR)/$(NAME).so
+
+ reload: install
+ asterisk -rx "unload ${RES}"
diff --git a/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.2 b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.2
new file mode 100644
index 0000000..d9a9e8a
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.2
@@ -0,0 +1,3 @@
+MD5 2f9cd9fceb4dc5a42281fae634705709 app_iconv-0.9.2.tgz 2841
+RMD160 42ba3e773966fe304cc84f391523066955470f76 app_iconv-0.9.2.tgz 2841
+SHA256 392cc017cf71c3ba726472c6449aabef68e0c64db1ac0807123657120b47d5cc app_iconv-0.9.2.tgz 2841