summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/asterisk-app_iconv/ChangeLog8
-rw-r--r--net-misc/asterisk-app_iconv/Manifest9
-rw-r--r--net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.1.ebuild42
-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.11
5 files changed, 91 insertions, 4 deletions
diff --git a/net-misc/asterisk-app_iconv/ChangeLog b/net-misc/asterisk-app_iconv/ChangeLog
index bd6d895eaf5c..a521f7b2d4d6 100644
--- a/net-misc/asterisk-app_iconv/ChangeLog
+++ b/net-misc/asterisk-app_iconv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/asterisk-app_iconv
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_iconv/ChangeLog,v 1.4 2005/06/17 19:46:10 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_iconv/ChangeLog,v 1.5 2005/08/27 20:58:57 stkn Exp $
+
+*asterisk-app_iconv-0.9.1 (27 Aug 2005)
+
+ 27 Aug 2005; <stkn@gentoo.org> +files/app_iconv-0.9.1-astcfg.diff,
+ +asterisk-app_iconv-0.9.1.ebuild:
+ Version bump.
*asterisk-app_iconv-0.9 (17 Jun 2005)
diff --git a/net-misc/asterisk-app_iconv/Manifest b/net-misc/asterisk-app_iconv/Manifest
index 0dc95f45e22f..529b679488c9 100644
--- a/net-misc/asterisk-app_iconv/Manifest
+++ b/net-misc/asterisk-app_iconv/Manifest
@@ -1,7 +1,10 @@
-MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217
-MD5 79d03699c34d2995f31e88e72fe440cd ChangeLog 754
-MD5 a0fe2f1c35cf0618ab55239bf196e60e asterisk-app_iconv-0.8.ebuild 845
MD5 abcaaea16fbcfae4d7d89d13e0e532aa asterisk-app_iconv-0.9.ebuild 850
+MD5 a0fe2f1c35cf0618ab55239bf196e60e asterisk-app_iconv-0.8.ebuild 845
+MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217
+MD5 4c43c90b30213aae94a49340109c9c6a ChangeLog 917
+MD5 adffab823dcc3bcbca825dde9588d0b5 asterisk-app_iconv-0.9.1.ebuild 882
MD5 1d9290f7bf08909942aec614e4b8d2a8 files/app_iconv-0.8-astcfg.diff 717
MD5 9f6ac556f86bdaf7b54d9e022a542eeb files/digest-asterisk-app_iconv-0.8 60
+MD5 672a2a6e59ee633b14106e0c70c03086 files/digest-asterisk-app_iconv-0.9.1 62
+MD5 2762873d9cb0c047bdd8af2a756538ea files/app_iconv-0.9.1-astcfg.diff 866
MD5 875e728c24166472794e5a14e410c0ab files/digest-asterisk-app_iconv-0.9 60
diff --git a/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.1.ebuild b/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.1.ebuild
new file mode 100644
index 000000000000..38527fd6a0ce
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.1.ebuild
@@ -0,0 +1,42 @@
+# 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"
+
+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 000000000000..569612d0620c
--- /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)
+
+ reload: install
+ asterisk -rx "unload ${RES}"
diff --git a/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.1 b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.1
new file mode 100644
index 000000000000..24abefe226c6
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.9.1
@@ -0,0 +1 @@
+MD5 c666ae819642b608a70d827809c261c7 app_iconv-0.9.1.tgz 2870