summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-02-15 20:15:56 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-02-15 20:15:56 +0000
commite5fbf70449d284a4011f6407ee58ad27275b8899 (patch)
treed0d9d63028668db8f49f5757fcbeff5447e3ac82 /net-misc/asterisk-app_iconv
parentrepoman: Trim trailing whitespace (diff)
downloadgentoo-2-e5fbf70449d284a4011f6407ee58ad27275b8899.tar.gz
gentoo-2-e5fbf70449d284a4011f6407ee58ad27275b8899.tar.bz2
gentoo-2-e5fbf70449d284a4011f6407ee58ad27275b8899.zip
Initial import
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-misc/asterisk-app_iconv')
-rw-r--r--net-misc/asterisk-app_iconv/ChangeLog10
-rw-r--r--net-misc/asterisk-app_iconv/asterisk-app_iconv-0.8.ebuild41
-rw-r--r--net-misc/asterisk-app_iconv/files/app_iconv-0.8-astcfg.diff29
-rw-r--r--net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.81
-rw-r--r--net-misc/asterisk-app_iconv/metadata.xml8
5 files changed, 89 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_iconv/ChangeLog b/net-misc/asterisk-app_iconv/ChangeLog
new file mode 100644
index 000000000000..dd50c8a4fbce
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2005/02/15 20:15:56 stkn Exp $
+
+*asterisk-app_iconv-0.8 (15 Feb 2005)
+
+ 15 Feb 2005; Stefan Knoblich <stkn@gentoo.org> +metadata.xml,
+ +files/app_iconv-0.8-astcfg.diff, +asterisk-app_iconv-0.8.ebuild:
+ Initial import.
+
diff --git a/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.8.ebuild b/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.8.ebuild
new file mode 100644
index 000000000000..a85e7ec70454
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.8.ebuild
@@ -0,0 +1,41 @@
+# 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.8.ebuild,v 1.1 2005/02/15 20:15:56 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"
+
+IUSE=""
+
+# depends on glibc's iconv support
+DEPEND="sys-libs/glibc
+ >=net-misc/asterisk-1.0.5-r1"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # use asterisk-config...
+ epatch ${FILESDIR}/${MY_PN}-${PV}-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc README
+}
diff --git a/net-misc/asterisk-app_iconv/files/app_iconv-0.8-astcfg.diff b/net-misc/asterisk-app_iconv/files/app_iconv-0.8-astcfg.diff
new file mode 100644
index 000000000000..3b3957c91a8d
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/files/app_iconv-0.8-astcfg.diff
@@ -0,0 +1,29 @@
+--- Makefile.orig 1970-01-01 00:00:00.000000000 +0000
++++ Makefile 2005-01-26 20:30:27.009331696 +0000
+@@ -0,0 +1,26 @@
++
++CC=gcc
++CFLAGS=$(shell /usr/bin/asterisk-config --cflags) -fPIC -DPIC
++SOLINK=$(shell /usr/bin/asterisk-config --solink)
++LIBS=
++
++ASTMODDIR=$(shell /usr/bin/asterisk-config --modulesdir)
++
++all: .depend app_iconv.so
++
++.depend:
++ @if [ ! -x /usr/bin/asterisk-config ]; then \
++ echo "/usr/bin/asterisk-config not found!"; \
++ exit 255; \
++ fi
++
++.c.o:
++ $(CC) -c $(CFLAGS) -o $@ $<
++
++app_iconv.so: app_iconv.o
++ $(CC) $(SOLINK) $(LIBS) -o $@
++
++install:
++ if [ ! -d $(DESTDIR)$(ASTMODDIR) ]; then mkdir -p $(DESTDIR)$(ASTMODDIR); fi
++ install -m755 app_iconv.so $(DESTDIR)$(ASTMODDIR)
++
diff --git a/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.8 b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.8
new file mode 100644
index 000000000000..e55045a005dd
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.8
@@ -0,0 +1 @@
+MD5 ae4ef377af93284a474db4b04543dbb5 app_iconv-0.8.tgz 2194
diff --git a/net-misc/asterisk-app_iconv/metadata.xml b/net-misc/asterisk-app_iconv/metadata.xml
new file mode 100644
index 000000000000..a3cddc42f9cc
--- /dev/null
+++ b/net-misc/asterisk-app_iconv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>voip</herd>
+<maintainer>
+ <email>stkn@gentoo.org</email>
+</maintainer>
+</pkgmetadata>