summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-07-01 21:09:20 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-07-01 21:09:20 +0000
commit1f9ab2a66a41bac4648f6d648802418f849eb173 (patch)
tree95bcf17ba82979d2944832f62b5f7b6ed55800c6 /net-misc/asterisk-app_event
parentFix more KEYWORDS-issues. (diff)
downloadhistorical-1f9ab2a66a41bac4648f6d648802418f849eb173.tar.gz
historical-1f9ab2a66a41bac4648f6d648802418f849eb173.tar.bz2
historical-1f9ab2a66a41bac4648f6d648802418f849eb173.zip
New ebuild
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-misc/asterisk-app_event')
-rw-r--r--net-misc/asterisk-app_event/ChangeLog10
-rw-r--r--net-misc/asterisk-app_event/Manifest3
-rw-r--r--net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild35
-rw-r--r--net-misc/asterisk-app_event/files/app_event-20050627-astcfg.diff31
-rw-r--r--net-misc/asterisk-app_event/files/digest-asterisk-app_event-200506271
-rw-r--r--net-misc/asterisk-app_event/metadata.xml8
6 files changed, 88 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_event/ChangeLog b/net-misc/asterisk-app_event/ChangeLog
new file mode 100644
index 000000000000..1b3b83ec1525
--- /dev/null
+++ b/net-misc/asterisk-app_event/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-misc/asterisk-app_event
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_event/ChangeLog,v 1.1 2005/07/01 21:03:13 stkn Exp $
+
+*asterisk-app_event-20050627 (01 Jul 2005)
+
+ 01 Jul 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/app_event-20050627-astcfg.diff, +asterisk-app_event-20050627.ebuild:
+ Initial import.
+
diff --git a/net-misc/asterisk-app_event/Manifest b/net-misc/asterisk-app_event/Manifest
new file mode 100644
index 000000000000..5c0a780a01df
--- /dev/null
+++ b/net-misc/asterisk-app_event/Manifest
@@ -0,0 +1,3 @@
+MD5 d68ac63088659ec2dce22acb94628431 asterisk-app_event-20050627.ebuild 631
+MD5 6398a986be929e46ee45a43cd18be378 files/digest-asterisk-app_event-20050627 78
+MD5 c53af72e2e4bfc3b055dd8a91082dded files/app_event-20050627-astcfg.diff 697
diff --git a/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild b/net-misc/asterisk-app_event/asterisk-app_event-20050627.ebuild
new file mode 100644
index 000000000000..ae16c260518d
--- /dev/null
+++ b/net-misc/asterisk-app_event/asterisk-app_event-20050627.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_event/asterisk-app_event-20050627.ebuild,v 1.1 2005/07/01 21:03:13 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_event"
+
+DESCRIPTION="Asterisk plugin to generate a manger event from the dialplan"
+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_event/files/app_event-20050627-astcfg.diff b/net-misc/asterisk-app_event/files/app_event-20050627-astcfg.diff
new file mode 100644
index 000000000000..0e62cea0d197
--- /dev/null
+++ b/net-misc/asterisk-app_event/files/app_event-20050627-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_event.so
++
++.depend:
++ @if [ ! -x $(ASTCONFIG) ]; then \
++ echo "$(ASTCONFIG) not found!"; \
++ exit 255; \
++ fi
++
++.c.o:
++ $(CC) -c $(CFLAGS) -o $@ $<
++
++app_event.so: app_event.o
++ $(CC) $(SOLINK) -o $@ $< $(LIBS)
++
++install:
++ if [ ! -d $(DESTDIR)$(ASTMODDIR) ]; then mkdir -p $(DESTDIR)$(ASTMODDIR); fi
++ install -m755 app_event.so $(DESTDIR)$(ASTMODDIR)
++
diff --git a/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627 b/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627
new file mode 100644
index 000000000000..18d1814b0075
--- /dev/null
+++ b/net-misc/asterisk-app_event/files/digest-asterisk-app_event-20050627
@@ -0,0 +1 @@
+MD5 eb35a22b63e341d22d7a89e78c6fe7b3 asterisk-app_event-20050627.tar.bz2 1471
diff --git a/net-misc/asterisk-app_event/metadata.xml b/net-misc/asterisk-app_event/metadata.xml
new file mode 100644
index 000000000000..a3cddc42f9cc
--- /dev/null
+++ b/net-misc/asterisk-app_event/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>