--- /dev/null
+# ChangeLog for net-misc/asterisk-app_notify
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_notify/ChangeLog,v 1.1 2005/08/27 21:50:26 stkn Exp $
+
+*asterisk-app_notify-0.9 (27 Aug 2005)
+
+ 27 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+ +files/app_notify-0.9-astcfg.diff, +metadata.xml,
+ +asterisk-app_notify-0.9.ebuild:
+ Initial import.
+
--- /dev/null
+MD5 4353179a97dffc2f70406d97d1363066 asterisk-app_notify-0.9.ebuild 795
+MD5 de41c503f05f5f99a8635b0e333729a5 metadata.xml 217
+MD5 19f6ce649aeca18b32a5628502fbc172 ChangeLog 422
+MD5 e9feeca2b8769b6a47354d06f0598ede files/app_notify-0.9-astcfg.diff 853
+MD5 23f907476297db3a183a156b1b391c40 files/digest-asterisk-app_notify-0.9 61
--- /dev/null
+# 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_notify/asterisk-app_notify-0.9.ebuild,v 1.1 2005/08/27 21:50:26 stkn Exp $
+
+inherit eutils
+
+MY_PN="app_notify"
+
+DESCRIPTION="Asterisk application plugin to notify users"
+HOMEPAGE="http://www.mezzo.net/asterisk/"
+SRC_URI="http://www.mezzo.net/asterisk/${MY_PN}-${PV}.tgz"
+
+IUSE=""
+
+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}-0.9-astcfg.diff
+}
+
+src_compile() {
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ dodoc README sampleClient.c
+}
--- /dev/null
+--- app_notify/Makefile.orig 2005-08-27 23:39:30.000000000 +0000
++++ app_notify/Makefile 2005-08-27 23:41:10.000000000 +0000
+@@ -8,15 +8,13 @@
+
+ NAME=app_notify
+
+-CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
++DESTDIR=
++
++CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
+ LIBS=
+ RES=$(NAME).so
+
+-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 notifyClient.o notifyClient sampleClient
+
+-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)/$(NAME).so
+
+ reload: install
+ asterisk -rx "unload ${RES}"
--- /dev/null
+MD5 1a64ee5c64bd268a2230e2e371d31760 app_notify-0.9.tgz 3028
--- /dev/null
+<?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>