diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2005-08-27 21:50:26 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2005-08-27 21:50:26 +0000 |
commit | 60e564845e84bc4fe850ade8825d69f4e73715d8 (patch) | |
tree | c6592852275cc4e1060b949647f4a456f0ddb4f2 /net-misc/asterisk-app_notify/files | |
parent | Fix use of install in patch. (diff) | |
download | gentoo-2-60e564845e84bc4fe850ade8825d69f4e73715d8.tar.gz gentoo-2-60e564845e84bc4fe850ade8825d69f4e73715d8.tar.bz2 gentoo-2-60e564845e84bc4fe850ade8825d69f4e73715d8.zip |
Initial import.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/asterisk-app_notify/files')
-rw-r--r-- | net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff | 35 | ||||
-rw-r--r-- | net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9 | 1 |
2 files changed, 36 insertions, 0 deletions
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 index 000000000000..23a5c224d2a6 --- /dev/null +++ b/net-misc/asterisk-app_notify/files/app_notify-0.9-astcfg.diff @@ -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 index 000000000000..b7cf863a2c1b --- /dev/null +++ b/net-misc/asterisk-app_notify/files/digest-asterisk-app_notify-0.9 @@ -0,0 +1 @@ +MD5 1a64ee5c64bd268a2230e2e371d31760 app_notify-0.9.tgz 3028 |