summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-03-26 13:21:04 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-03-26 13:21:04 +0000
commit5ded034544a5086c9006a9b93844ccb25be578cf (patch)
tree26e8d43e904c81c63ca089af13f7ec6414525907 /net-misc/asterisk-app_rtxfax/files
parent1.0 final. (diff)
downloadgentoo-2-5ded034544a5086c9006a9b93844ccb25be578cf.tar.gz
gentoo-2-5ded034544a5086c9006a9b93844ccb25be578cf.tar.bz2
gentoo-2-5ded034544a5086c9006a9b93844ccb25be578cf.zip
Initial import
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/asterisk-app_rtxfax/files')
-rw-r--r--net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre10-astcfg.diff35
-rw-r--r--net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre101
2 files changed, 36 insertions, 0 deletions
diff --git a/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre10-astcfg.diff b/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre10-astcfg.diff
new file mode 100644
index 000000000000..afd378158f3b
--- /dev/null
+++ b/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre10-astcfg.diff
@@ -0,0 +1,35 @@
+--- Makefile.orig 1970-01-01 00:00:00.000000000 +0000
++++ Makefile 2005-01-26 20:30:27.009331696 +0000
+@@ -0,0 +1,32 @@
++
++CC=gcc
++CFLAGS=$(shell /usr/bin/asterisk-config --cflags)
++CFLAGS+=-fPIC -I/usr/include/spandsp
++SOLINK=$(shell /usr/bin/asterisk-config --solink)
++LIBS=-lspandsp -ltiff
++
++ASTMODDIR=$(shell /usr/bin/asterisk-config --modulesdir)
++ASTETCDIR=$(shell /usr/bin/asterisk-config --sysconfdir)
++
++all: .depend app_rxfax.so app_txfax.so
++
++.depend:
++ @if [ ! -x /usr/bin/asterisk-config ]; then \
++ echo "/usr/bin/asterisk-config not found!"; \
++ exit 255; \
++ fi
++
++.c.o:
++ $(CC) -c $(CFLAGS) -o $@ $<
++
++app_rxfax.so: app_rxfax.o
++ $(CC) $(SOLINK) -o $@ $< $(LIBS)
++
++app_txfax.so: app_txfax.o
++ $(CC) $(SOLINK) -o $@ $< $(LIBS)
++
++install:
++ if [ ! -d $(DESTDIR)$(ASTMODDIR) ]; then mkdir -p $(DESTDIR)$(ASTMODDIR); fi
++ install -m755 app_rxfax.so $(DESTDIR)$(ASTMODDIR)
++ install -m755 app_txfax.so $(DESTDIR)$(ASTMODDIR)
++
diff --git a/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre10 b/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre10
new file mode 100644
index 000000000000..90c676e2d7ce
--- /dev/null
+++ b/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre10
@@ -0,0 +1 @@
+MD5 4db327686738aaae48b39b46ff732599 app_rtxfax-0.0.2_pre10.tar.bz2 5034