diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-02-15 20:15:56 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-02-15 20:15:56 +0000 |
commit | 4077249809b8dc274590755921e151fd2af097ec (patch) | |
tree | ab262a86e204a57390b146e3d05e719d3e42beff /net-misc | |
parent | repoman: Trim trailing whitespace (diff) | |
download | historical-4077249809b8dc274590755921e151fd2af097ec.tar.gz historical-4077249809b8dc274590755921e151fd2af097ec.tar.bz2 historical-4077249809b8dc274590755921e151fd2af097ec.zip |
Initial import
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/asterisk-app_iconv/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/asterisk-app_iconv/Manifest | 5 | ||||
-rw-r--r-- | net-misc/asterisk-app_iconv/asterisk-app_iconv-0.8.ebuild | 41 | ||||
-rw-r--r-- | net-misc/asterisk-app_iconv/files/app_iconv-0.8-astcfg.diff | 29 | ||||
-rw-r--r-- | net-misc/asterisk-app_iconv/files/digest-asterisk-app_iconv-0.8 | 1 | ||||
-rw-r--r-- | net-misc/asterisk-app_iconv/metadata.xml | 8 |
6 files changed, 94 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/Manifest b/net-misc/asterisk-app_iconv/Manifest new file mode 100644 index 000000000000..e2bd7bf89bef --- /dev/null +++ b/net-misc/asterisk-app_iconv/Manifest @@ -0,0 +1,5 @@ +MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217 +MD5 6e13d1189d4116fa8a7009fd85530e1c asterisk-app_iconv-0.8.ebuild 839 +MD5 00b91e224db3e544a2038a0f6b92867f ChangeLog 415 +MD5 788d896fcbb023126d45bfc59037c97a files/app_iconv-0.8-astcfg.diff 714 +MD5 9f6ac556f86bdaf7b54d9e022a542eeb files/digest-asterisk-app_iconv-0.8 60 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> |