Initial import.
authorStefan Knoblich <stkn@gentoo.org>
Sat, 27 Aug 2005 21:50:26 +0000 (21:50 +0000)
committerStefan Knoblich <stkn@gentoo.org>
Sat, 27 Aug 2005 21:50:26 +0000 (21:50 +0000)
Package-Manager: portage-2.0.51.22-r2

net-misc/asterisk-app_notify/ChangeLog [new file with mode: 0644]
net-misc/asterisk-app_notify/Manifest [new file with mode: 0644]
net-misc/asterisk-app_notify/asterisk-app_notify-0.9.ebuild [new file with mode: 0644]
net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff [new file with mode: 0644]
net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9 [new file with mode: 0644]
net-misc/asterisk-app_notify/metadata.xml [new file with mode: 0644]

diff --git a/net-misc/asterisk-app_notify/ChangeLog b/net-misc/asterisk-app_notify/ChangeLog
new file mode 100644 (file)
index 0000000..f438b8d
--- /dev/null
@@ -0,0 +1,11 @@
+# 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.
+
diff --git a/net-misc/asterisk-app_notify/Manifest b/net-misc/asterisk-app_notify/Manifest
new file mode 100644 (file)
index 0000000..c53bd9f
--- /dev/null
@@ -0,0 +1,5 @@
+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
diff --git a/net-misc/asterisk-app_notify/asterisk-app_notify-0.9.ebuild b/net-misc/asterisk-app_notify/asterisk-app_notify-0.9.ebuild
new file mode 100644 (file)
index 0000000..bb65298
--- /dev/null
@@ -0,0 +1,39 @@
+# 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
+}
diff --git a/net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff b/net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff
new file mode 100644 (file)
index 0000000..23a5c22
--- /dev/null
@@ -0,0 +1,35 @@
+--- 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}"
diff --git a/net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9 b/net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9
new file mode 100644 (file)
index 0000000..b7cf863
--- /dev/null
@@ -0,0 +1 @@
+MD5 1a64ee5c64bd268a2230e2e371d31760 app_notify-0.9.tgz 3028
diff --git a/net-misc/asterisk-app_notify/metadata.xml b/net-misc/asterisk-app_notify/metadata.xml
new file mode 100644 (file)
index 0000000..a3cddc4
--- /dev/null
@@ -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>