summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-05-06 18:37:41 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-05-06 18:37:41 +0000
commita02f34be55c151cf193bf4db1822f6a9fe23d8f7 (patch)
treee6b41f790e19a1a7033ec412acec7f36a524103a /media-libs/portaudio/portaudio-18.1.ebuild
parentfixed whitespace warnings (diff)
downloadhistorical-a02f34be55c151cf193bf4db1822f6a9fe23d8f7.tar.gz
historical-a02f34be55c151cf193bf4db1822f6a9fe23d8f7.tar.bz2
historical-a02f34be55c151cf193bf4db1822f6a9fe23d8f7.zip
Version bump.
Diffstat (limited to 'media-libs/portaudio/portaudio-18.1.ebuild')
-rw-r--r--media-libs/portaudio/portaudio-18.1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/portaudio/portaudio-18.1.ebuild b/media-libs/portaudio/portaudio-18.1.ebuild
new file mode 100644
index 000000000000..5496f90e357f
--- /dev/null
+++ b/media-libs/portaudio/portaudio-18.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/portaudio/portaudio-18.1.ebuild,v 1.1 2004/05/06 18:37:41 eradicator Exp $
+
+inherit eutils
+
+MY_P=${PN}_v${PV/./_}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="An open-source cross platform audio API."
+HOMEPAGE="http://www.portaudio.com"
+SRC_URI="http://www.portaudio.com/archives/${MY_P}.zip"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc ~amd64"
+
+IUSE=""
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-use-fpic.patch
+}
+
+src_compile() {
+ make -f Makefile.linux sharedlib || die
+}
+
+src_install() {
+
+ dodir /usr/lib
+ cp -f ./pa_unix_oss/libportaudio.so ${D}/usr/lib || die
+
+ dodir /usr/include
+ cp ./pa_common/portaudio.h ${D}/usr/include || die
+
+ dodir /usr/share/doc/portaudio-18
+ cp ./docs/* ${D}/usr/share/doc/portaudio-18 || die
+
+}