summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2006-11-30 19:39:20 +0000
committerAlexis Ballier <aballier@gentoo.org>2006-11-30 19:39:20 +0000
commit6cf324988cbc8a7c60d618cccc4af8530afda55e (patch)
treefa42eef82d825529914e617a46c61c71e1abfb75 /media-libs/portaudio/files
parentppc stable, bug #156645 (diff)
downloadgentoo-2-6cf324988cbc8a7c60d618cccc4af8530afda55e.tar.gz
gentoo-2-6cf324988cbc8a7c60d618cccc4af8530afda55e.tar.bz2
gentoo-2-6cf324988cbc8a7c60d618cccc4af8530afda55e.zip
Rev bump fixing bsd build, thanks to Timothy Redaelli <drizzt@gentoo.org>
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'media-libs/portaudio/files')
-rw-r--r--media-libs/portaudio/files/digest-portaudio-18.1-r63
-rw-r--r--media-libs/portaudio/files/portaudio-18.1-r6-Makefile61
2 files changed, 64 insertions, 0 deletions
diff --git a/media-libs/portaudio/files/digest-portaudio-18.1-r6 b/media-libs/portaudio/files/digest-portaudio-18.1-r6
new file mode 100644
index 000000000000..f45c914f9616
--- /dev/null
+++ b/media-libs/portaudio/files/digest-portaudio-18.1-r6
@@ -0,0 +1,3 @@
+MD5 ce66a732d263fde2b5ad2262ef37a691 portaudio_v18_1.zip 550130
+RMD160 3352d70225a81aae80eefabc3701658da0c750c2 portaudio_v18_1.zip 550130
+SHA256 9da7f1ba0b8029f934d5a8300199e29095127e6abfa03dbb3c1ce40e10751f0a portaudio_v18_1.zip 550130
diff --git a/media-libs/portaudio/files/portaudio-18.1-r6-Makefile b/media-libs/portaudio/files/portaudio-18.1-r6-Makefile
new file mode 100644
index 000000000000..905d29f276c5
--- /dev/null
+++ b/media-libs/portaudio/files/portaudio-18.1-r6-Makefile
@@ -0,0 +1,61 @@
+# Make PortAudio for Linux
+# Updated 2001/08/25 Bill Eldridge bill@rfa.org
+# Updated 2001/10/16, philburk@softsynth.com, s/unix_oss/unix_oss/
+# Updated 2002/04/30 Bill Eldridge bill@rfa.org
+# Made the libinstall and tests compile a bit cleaner
+# Updated 2005/07/22 Jeremy Huddleston eradicator@gentoo.org
+
+# A pretty bare makefile, that figures out all the test files
+# and compiles them against the library in the pa_unix_oss directory.
+
+# Do "make all" and then when happy, "make libinstall"
+# (if not happy, "make clean")
+
+# The ldconfig stuff in libinstall is the wrong way to do it -
+# someone tell me the right way, please
+
+LIBS = -lm -lpthread
+
+CFLAGS = -O2
+
+LIBFILES:= ./pa_common/pa_lib.c ./pa_unix_oss/pa_unix_oss.c ./pa_unix_oss/pa_unix.c
+
+VERSION=18
+
+CC=gcc
+LD=ld
+AR=ar
+RANLIB=ranlib
+LN=ln
+CP=cp
+MKDIR=mkdir
+
+prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include
+
+all: libportaudio.so libportaudio.a
+
+%.lo : %.c
+ $(CC) -fPIC $(CFLAGS) -c -I./pa_common $? -o $@
+
+.c.o:
+ $(CC) $(CFLAGS) -c -I./pa_common $? -o $@
+
+libportaudio.so.$(VERSION): $(LIBFILES:.c=.lo)
+ $(LD) -shared $(LIBS) -soname $@ -o $@ $?
+
+libportaudio.so: libportaudio.so.$(VERSION)
+ $(LN) -s $? $@
+
+libportaudio.a: $(LIBFILES:.c=.o)
+ $(AR) ruv $@ $?
+ $(RANLIB) $@
+
+install: libportaudio.so libportaudio.a
+ $(MKDIR) -p $(DESTDIR)$(includedir)/portaudio
+ $(MKDIR) -p $(DESTDIR)$(libdir)
+ $(CP) -p libportaudio.so.$(VERSION) libportaudio.a $(DESTDIR)$(libdir)
+ $(CP) -p pa_common/portaudio.h $(DESTDIR)$(includedir)/portaudio
+ $(LN) -s libportaudio.so.$(VERSION) $(DESTDIR)$(libdir)/libportaudio.so
+ $(LN) -s portaudio/portaudio.h $(DESTDIR)$(includedir)/portaudio.h