summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-08-27 20:58:57 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-08-27 20:58:57 +0000
commit05f53e2093d0f3edf8d83aeaf83ee54467f9e810 (patch)
treee7234f1f88d2bd720eb351069360b09f75304654 /net-misc
parentRemoved 0.31.3 since it's obsoleted by -r1 (diff)
downloadgentoo-2-05f53e2093d0f3edf8d83aeaf83ee54467f9e810.tar.gz
gentoo-2-05f53e2093d0f3edf8d83aeaf83ee54467f9e810.tar.bz2
gentoo-2-05f53e2093d0f3edf8d83aeaf83ee54467f9e810.zip
Version bump.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/asterisk-app_iconv/ChangeLog8
-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
4 files changed, 85 insertions, 1 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/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