diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-07-01 21:09:20 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-07-01 21:09:20 +0000 |
commit | a05d2847e5aba877d194eb1dd57528120629739b (patch) | |
tree | 87760548713fefd426e9dd23e674bbec65b295d9 /net-misc/asterisk-app_intercept | |
parent | Fix more KEYWORDS-issues. (diff) | |
download | gentoo-2-a05d2847e5aba877d194eb1dd57528120629739b.tar.gz gentoo-2-a05d2847e5aba877d194eb1dd57528120629739b.tar.bz2 gentoo-2-a05d2847e5aba877d194eb1dd57528120629739b.zip |
New ebuild
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/asterisk-app_intercept')
6 files changed, 89 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_intercept/ChangeLog b/net-misc/asterisk-app_intercept/ChangeLog new file mode 100644 index 000000000000..876e220daafd --- /dev/null +++ b/net-misc/asterisk-app_intercept/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/asterisk-app_intercept +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_intercept/ChangeLog,v 1.1 2005/07/01 21:06:20 stkn Exp $ + +*asterisk-app_intercept-20050623 (01 Jul 2005) + + 01 Jul 2005; Stefan Knoblich <stkn@gentoo.org> +metadata.xml, + +files/app_intercept-20050623-astcfg.diff, + +asterisk-app_intercept-20050623.ebuild: + Initial import. + diff --git a/net-misc/asterisk-app_intercept/Manifest b/net-misc/asterisk-app_intercept/Manifest new file mode 100644 index 000000000000..a0f7d3b9d1b3 --- /dev/null +++ b/net-misc/asterisk-app_intercept/Manifest @@ -0,0 +1,3 @@ +MD5 8e4ad8a286f8a689ff1e1e7077c259d7 asterisk-app_intercept-20050623.ebuild 635 +MD5 386a10c3d32e5ef111ad0147804181c2 files/digest-asterisk-app_intercept-20050623 82 +MD5 190301c3bb28a31fde5e48dd67eaa298 files/app_intercept-20050623-astcfg.diff 713 diff --git a/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild new file mode 100644 index 000000000000..bb2eb3f8b561 --- /dev/null +++ b/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050623.ebuild @@ -0,0 +1,35 @@ +# 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_intercept/asterisk-app_intercept-20050623.ebuild,v 1.1 2005/07/01 21:06:20 stkn Exp $ + +inherit eutils + +MY_PN="app_intercept" + +DESCRIPTION="Asterisk plugin to intercept an unanswered call" +HOMEPAGE="http://www.pbxfreeware.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND=">=net-misc/asterisk-1.0.7-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 +} diff --git a/net-misc/asterisk-app_intercept/files/app_intercept-20050623-astcfg.diff b/net-misc/asterisk-app_intercept/files/app_intercept-20050623-astcfg.diff new file mode 100644 index 000000000000..d014df18e2be --- /dev/null +++ b/net-misc/asterisk-app_intercept/files/app_intercept-20050623-astcfg.diff @@ -0,0 +1,31 @@ +--- Makefile.orig 1970-01-01 00:00:00.000000000 +0000 ++++ Makefile 2005-01-26 20:30:27.009331696 +0000 +@@ -0,0 +1,28 @@ ++ ++CC?=gcc ++ASTCONFIG?=/usr/bin/asterisk-config ++ ++CFLAGS=$(shell $(ASTCONFIG) --cflags) -fPIC -DPIC ++SOLINK=$(shell $(ASTCONFIG) --solink) ++LIBS= ++ ++ASTMODDIR=$(shell $(ASTCONFIG) --modulesdir) ++ ++all: .depend app_intercept.so ++ ++.depend: ++ @if [ ! -x $(ASTCONFIG) ]; then \ ++ echo "$(ASTCONFIG) not found!"; \ ++ exit 255; \ ++ fi ++ ++.c.o: ++ $(CC) -c $(CFLAGS) -o $@ $< ++ ++app_intercept.so: app_intercept.o ++ $(CC) $(SOLINK) -o $@ $< $(LIBS) ++ ++install: ++ if [ ! -d $(DESTDIR)$(ASTMODDIR) ]; then mkdir -p $(DESTDIR)$(ASTMODDIR); fi ++ install -m755 app_intercept.so $(DESTDIR)$(ASTMODDIR) ++ diff --git a/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623 b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623 new file mode 100644 index 000000000000..21274c893232 --- /dev/null +++ b/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050623 @@ -0,0 +1 @@ +MD5 0c7ba8cbd6b2991edd5dfb8f5630fe25 asterisk-app_intercept-20050623.tar.bz2 1737 diff --git a/net-misc/asterisk-app_intercept/metadata.xml b/net-misc/asterisk-app_intercept/metadata.xml new file mode 100644 index 000000000000..a3cddc42f9cc --- /dev/null +++ b/net-misc/asterisk-app_intercept/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> |