summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/tapestrea/ChangeLog8
-rw-r--r--media-sound/tapestrea/Manifest20
-rw-r--r--media-sound/tapestrea/files/digest-tapestrea-0.1.0.13
-rw-r--r--media-sound/tapestrea/files/tapestrea-0.1.0.1-makefile.patch309
-rw-r--r--media-sound/tapestrea/metadata.xml5
-rw-r--r--media-sound/tapestrea/tapestrea-0.1.0.1.ebuild80
6 files changed, 425 insertions, 0 deletions
diff --git a/media-sound/tapestrea/ChangeLog b/media-sound/tapestrea/ChangeLog
new file mode 100644
index 000000000..bca7e97e5
--- /dev/null
+++ b/media-sound/tapestrea/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-sound/tapestrea
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 09 Aug 2006; Cedric Krier <ced@ced.homedns.org> +tapestrea-0.1.0.1.ebuild,
+ +files/tapestrea-0.1.0.1-makefile.patch, +metadata.xml:
+ New Ebuild for bug 143368
+
diff --git a/media-sound/tapestrea/Manifest b/media-sound/tapestrea/Manifest
new file mode 100644
index 000000000..62aa4bb02
--- /dev/null
+++ b/media-sound/tapestrea/Manifest
@@ -0,0 +1,20 @@
+AUX tapestrea-0.1.0.1-makefile.patch 8749 RMD160 73744f00dc40b244ca0ae550f7673ac14e288edb SHA1 4345c125cb56642393b9c6dca228fb3a196a903e SHA256 000e2d2ad829288ded6299d9f6888072d323c3a90dcd9c7c49d404e3e62221f8
+MD5 e639b84e4c2cec4e8d3db84684d522b0 files/tapestrea-0.1.0.1-makefile.patch 8749
+RMD160 73744f00dc40b244ca0ae550f7673ac14e288edb files/tapestrea-0.1.0.1-makefile.patch 8749
+SHA256 000e2d2ad829288ded6299d9f6888072d323c3a90dcd9c7c49d404e3e62221f8 files/tapestrea-0.1.0.1-makefile.patch 8749
+DIST tapestrea-0.1.0.1.tgz 20325845 RMD160 4bd1491434fed1152ad9e28b55f1392c0873f36e SHA1 ba4d378bab27c0f4fce0208b64ba734e4f5bd5c3 SHA256 7f8b6eb567fd28e3c4aa192119def81c3da3dc53895b2568e5924f0b95405a26
+EBUILD tapestrea-0.1.0.1.ebuild 1961 RMD160 7d30009f8bb8a8b55e471c16b1885b7c07f63131 SHA1 67ffe7d16faf5315a3339e2ebfa07b86dd41daa2 SHA256 3ddf45fbb52fafc85d2973c192f2a75ee83b56f581cfc7ff55bad14c9c2f85f5
+MD5 aaabcb68295c817e5ee0928e8e5828d9 tapestrea-0.1.0.1.ebuild 1961
+RMD160 7d30009f8bb8a8b55e471c16b1885b7c07f63131 tapestrea-0.1.0.1.ebuild 1961
+SHA256 3ddf45fbb52fafc85d2973c192f2a75ee83b56f581cfc7ff55bad14c9c2f85f5 tapestrea-0.1.0.1.ebuild 1961
+MISC ChangeLog 286 RMD160 7c637dd5d9d2c812eb209093536450e8d482f402 SHA1 d8f63d0792df0607c0fde67e91a381dfb73dd20e SHA256 ba80a2d7fa7dd35f1877478b82ba5e2dedfe8b76877b3760adfe5b2fea4d7232
+MD5 4061ea367e9348f60028fd2de595529f ChangeLog 286
+RMD160 7c637dd5d9d2c812eb209093536450e8d482f402 ChangeLog 286
+SHA256 ba80a2d7fa7dd35f1877478b82ba5e2dedfe8b76877b3760adfe5b2fea4d7232 ChangeLog 286
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 c6ecc41a66ccd2226ac54824a5978a16 files/digest-tapestrea-0.1.0.1 250
+RMD160 97ce7c5f76318a6e676c19f9d79ed410064778f6 files/digest-tapestrea-0.1.0.1 250
+SHA256 6046fc90d79f9ccb461c78965b7e2246cd15fdc77725edc9582fc601291f2f3d files/digest-tapestrea-0.1.0.1 250
diff --git a/media-sound/tapestrea/files/digest-tapestrea-0.1.0.1 b/media-sound/tapestrea/files/digest-tapestrea-0.1.0.1
new file mode 100644
index 000000000..d65daa14a
--- /dev/null
+++ b/media-sound/tapestrea/files/digest-tapestrea-0.1.0.1
@@ -0,0 +1,3 @@
+MD5 9b1d696c894ed6e306b75380067f7d51 tapestrea-0.1.0.1.tgz 20325845
+RMD160 4bd1491434fed1152ad9e28b55f1392c0873f36e tapestrea-0.1.0.1.tgz 20325845
+SHA256 7f8b6eb567fd28e3c4aa192119def81c3da3dc53895b2568e5924f0b95405a26 tapestrea-0.1.0.1.tgz 20325845
diff --git a/media-sound/tapestrea/files/tapestrea-0.1.0.1-makefile.patch b/media-sound/tapestrea/files/tapestrea-0.1.0.1-makefile.patch
new file mode 100644
index 000000000..1807e45ae
--- /dev/null
+++ b/media-sound/tapestrea/files/tapestrea-0.1.0.1-makefile.patch
@@ -0,0 +1,309 @@
+diff -ru tapestrea-0.1.0.1~/scripting/chuck-1.2.0.6/src/makefile.alsa tapestrea-0.1.0.1/scripting/chuck-1.2.0.6/src/makefile.alsa
+--- tapestrea-0.1.0.1~/scripting/chuck-1.2.0.6/src/makefile.alsa 2006-07-30 17:33:59.000000000 +0200
++++ tapestrea-0.1.0.1/scripting/chuck-1.2.0.6/src/makefile.alsa 2006-07-30 17:39:52.000000000 +0200
+@@ -1,9 +1,11 @@
+
+-CXX=gcc
++CXX?=g++
++CC?=gcc
+ LEX=flex
+ YACC=bison
+ INCLUDES=
+-FLAGS=-D__LINUX_ALSA__ -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_ALSA__ -c $(CFLAGS)
+ LIBS=-lasound -lstdc++ -ldl -lm
+ SF_OBJ=util_sndfile.o
+
+@@ -46,7 +48,7 @@
+ $(CXX) -o chuck $(OBJS) $(LIBS)
+
+ chuck.tab.o: chuck.tab.c
+- $(CXX) $(FLAGS) chuck.tab.c
++ $(CC) $(FLAGS) chuck.tab.c
+
+ chuck.tab.c: chuck.y
+ $(YACC) -dv -b chuck chuck.y
+@@ -55,7 +57,7 @@
+ echo "chuck.tab.h was created at the same time as chuck.tab.c"
+
+ chuck.yy.o: chuck.yy.c chuck.tab.h chuck_errmsg.h chuck_utils.h
+- $(CXX) $(FLAGS) chuck.yy.c
++ $(CC) $(FLAGS) chuck.yy.c
+
+ chuck.yy.c: chuck.lex
+ $(LEX) -ochuck.yy.c chuck.lex
+@@ -181,19 +183,19 @@
+ $(CXX) $(FLAGS) util_console.cpp
+
+ util_hid.o: util_hid.h util_hid.c
+- $(CXX) $(FLAGS) util_hid.c
++ $(CC) $(FLAGS) util_hid.c
+
+ util_math.o: util_math.h util_math.c
+- $(CXX) $(FLAGS) util_math.c
++ $(CC) $(FLAGS) util_math.c
+
+ util_network.o: util_network.h util_network.c
+- $(CXX) $(FLAGS) util_network.c
++ $(CC) $(FLAGS) util_network.c
+
+ util_opsc.o: util_opsc.h util_opsc.cpp
+ $(CXX) $(FLAGS) util_opsc.cpp
+
+ util_raw.o: util_raw.h util_raw.c
+- $(CXX) $(FLAGS) util_raw.c
++ $(CC) $(FLAGS) util_raw.c
+
+ util_string.o: util_string.h util_string.cpp
+ $(CXX) $(FLAGS) util_string.cpp
+@@ -202,10 +204,10 @@
+ $(CXX) $(FLAGS) util_thread.cpp
+
+ util_xforms.o: util_xforms.h util_xforms.c
+- $(CXX) $(FLAGS) util_xforms.c
++ $(CC) $(FLAGS) util_xforms.c
+
+ util_sndfile.o: util_sndfile.h util_sndfile.c
+- $(CXX) $(FLAGS) util_sndfile.c
++ $(CC) $(FLAGS) util_sndfile.c
+
+ clean:
+ rm -f chuck *~ *.o chuck.output chuck.tab.h chuck.tab.c chuck.yy.c
+diff -ru tapestrea-0.1.0.1~/scripting/chuck-1.2.0.6/src/makefile.jack tapestrea-0.1.0.1/scripting/chuck-1.2.0.6/src/makefile.jack
+--- tapestrea-0.1.0.1~/scripting/chuck-1.2.0.6/src/makefile.jack 2006-07-30 17:33:59.000000000 +0200
++++ tapestrea-0.1.0.1/scripting/chuck-1.2.0.6/src/makefile.jack 2006-07-30 17:41:13.000000000 +0200
+@@ -1,9 +1,11 @@
+
+-CXX=gcc
++CXX?=g++
++CC?=gcc
+ LEX=flex
+ YACC=bison
+ INCLUDES=
+-FLAGS=-D__LINUX_JACK__ -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_JACK__ -c $(CFLAGS)
+ LIBS=-lasound -ljack -lstdc++ -ldl -lm
+ SF_OBJ=util_sndfile.o
+
+@@ -46,7 +48,7 @@
+ $(CXX) -o chuck $(OBJS) $(LIBS)
+
+ chuck.tab.o: chuck.tab.c
+- $(CXX) $(FLAGS) chuck.tab.c
++ $(CC) $(FLAGS) chuck.tab.c
+
+ chuck.tab.c: chuck.y
+ $(YACC) -dv -b chuck chuck.y
+@@ -55,7 +57,7 @@
+ echo "chuck.tab.h was created at the same time as chuck.tab.c"
+
+ chuck.yy.o: chuck.yy.c chuck.tab.h chuck_errmsg.h chuck_utils.h
+- $(CXX) $(FLAGS) chuck.yy.c
++ $(CC) $(FLAGS) chuck.yy.c
+
+ chuck.yy.c: chuck.lex
+ $(LEX) -ochuck.yy.c chuck.lex
+@@ -181,19 +183,19 @@
+ $(CXX) $(FLAGS) util_console.cpp
+
+ util_hid.o: util_hid.h util_hid.c
+- $(CXX) $(FLAGS) util_hid.c
++ $(CC) $(FLAGS) util_hid.c
+
+ util_math.o: util_math.h util_math.c
+- $(CXX) $(FLAGS) util_math.c
++ $(CC) $(FLAGS) util_math.c
+
+ util_network.o: util_network.h util_network.c
+- $(CXX) $(FLAGS) util_network.c
++ $(CC) $(FLAGS) util_network.c
+
+ util_opsc.o: util_opsc.h util_opsc.cpp
+ $(CXX) $(FLAGS) util_opsc.cpp
+
+ util_raw.o: util_raw.h util_raw.c
+- $(CXX) $(FLAGS) util_raw.c
++ $(CC) $(FLAGS) util_raw.c
+
+ util_string.o: util_string.h util_string.cpp
+ $(CXX) $(FLAGS) util_string.cpp
+@@ -202,10 +204,10 @@
+ $(CXX) $(FLAGS) util_thread.cpp
+
+ util_xforms.o: util_xforms.h util_xforms.c
+- $(CXX) $(FLAGS) util_xforms.c
++ $(CC) $(FLAGS) util_xforms.c
+
+ util_sndfile.o: util_sndfile.h util_sndfile.c
+- $(CXX) $(FLAGS) util_sndfile.c
++ $(CC) $(FLAGS) util_sndfile.c
+
+ clean:
+ rm -f chuck *~ *.o chuck.output chuck.tab.h chuck.tab.c chuck.yy.c
+diff -ru tapestrea-0.1.0.1~/scripting/chuck-1.2.0.6/src/makefile.oss tapestrea-0.1.0.1/scripting/chuck-1.2.0.6/src/makefile.oss
+--- tapestrea-0.1.0.1~/scripting/chuck-1.2.0.6/src/makefile.oss 2006-07-30 17:33:59.000000000 +0200
++++ tapestrea-0.1.0.1/scripting/chuck-1.2.0.6/src/makefile.oss 2006-07-30 17:42:30.000000000 +0200
+@@ -1,9 +1,11 @@
+
+-CXX=gcc
++CXX?=g++
++CC?=gcc
+ LEX=flex
+ YACC=bison
+ INCLUDES=
+-FLAGS=-D__LINUX_OSS__ -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_OSS__ -c $(CFLAGS)
+ LIBS=-lpthread -lstdc++ -ldl -lm
+ SF_OBJ=util_sndfile.o
+
+@@ -46,7 +48,7 @@
+ $(CXX) -o chuck $(OBJS) $(LIBS)
+
+ chuck.tab.o: chuck.tab.c
+- $(CXX) $(FLAGS) chuck.tab.c
++ $(CC) $(FLAGS) chuck.tab.c
+
+ chuck.tab.c: chuck.y
+ $(YACC) -dv -b chuck chuck.y
+@@ -55,7 +57,7 @@
+ echo "chuck.tab.h was created at the same time as chuck.tab.c"
+
+ chuck.yy.o: chuck.yy.c chuck.tab.h chuck_errmsg.h chuck_utils.h
+- $(CXX) $(FLAGS) chuck.yy.c
++ $(CC) $(FLAGS) chuck.yy.c
+
+ chuck.yy.c: chuck.lex
+ $(LEX) -ochuck.yy.c chuck.lex
+@@ -181,19 +183,19 @@
+ $(CXX) $(FLAGS) util_console.cpp
+
+ util_hid.o: util_hid.h util_hid.c
+- $(CXX) $(FLAGS) util_hid.c
++ $(CC) $(FLAGS) util_hid.c
+
+ util_math.o: util_math.h util_math.c
+- $(CXX) $(FLAGS) util_math.c
++ $(CC) $(FLAGS) util_math.c
+
+ util_network.o: util_network.h util_network.c
+- $(CXX) $(FLAGS) util_network.c
++ $(CC) $(FLAGS) util_network.c
+
+ util_opsc.o: util_opsc.h util_opsc.cpp
+ $(CXX) $(FLAGS) util_opsc.cpp
+
+ util_raw.o: util_raw.h util_raw.c
+- $(CXX) $(FLAGS) util_raw.c
++ $(CC) $(FLAGS) util_raw.c
+
+ util_string.o: util_string.h util_string.cpp
+ $(CXX) $(FLAGS) util_string.cpp
+@@ -202,10 +204,10 @@
+ $(CXX) $(FLAGS) util_thread.cpp
+
+ util_xforms.o: util_xforms.h util_xforms.c
+- $(CXX) $(FLAGS) util_xforms.c
++ $(CC) $(FLAGS) util_xforms.c
+
+ util_sndfile.o: util_sndfile.h util_sndfile.c
+- $(CXX) $(FLAGS) util_sndfile.c
++ $(CC) $(FLAGS) util_sndfile.c
+
+ clean:
+ rm -f chuck *~ *.o chuck.output chuck.tab.h chuck.tab.c chuck.yy.c
+diff -ru tapestrea-0.1.0.1~/src/makefile.alsa tapestrea-0.1.0.1/src/makefile.alsa
+--- tapestrea-0.1.0.1~/src/makefile.alsa 2006-07-30 17:33:59.000000000 +0200
++++ tapestrea-0.1.0.1/src/makefile.alsa 2006-07-30 17:37:00.000000000 +0200
+@@ -1,8 +1,10 @@
+
+-CC=gcc
++CC?=gcc
++CXX?=g++
+ CHUCK_DIR=../scripting/chuck-1.2.0.6/src
+ INCLUDES=
+-FLAGS=-D__LINUX_ALSA__ `pkg-config --cflags gtk+-2.0` -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_ALSA__ `pkg-config --cflags gtk+-2.0` -c $(CFLAGS)
+ LIBS=-lasound -lstdc++ -lm -lsndfile -lGL -lGLU -lglut `pkg-config --libs gtk+-2.0`
+
+ TAPS_OBJS= taps_analysis.o taps_birdbrain.o taps_driver.o \
+@@ -55,7 +57,7 @@
+
+
+ taps: $(OBJS) chuck
+- gcc -o taps $(OBJS) $(LIBS)
++ $(CXX) -o taps $(OBJS) $(LIBS)
+
+ chuck:
+ make -C $(CHUCK_DIR) linux-alsa
+@@ -66,4 +68,4 @@
+ $(CC) $(FLAGS) $(INCLUDES) $*.c
+
+ .cpp.o: $*.h $*.cpp
+- $(CC) $(FLAGS) $(INCLUDES) $*.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) $*.cpp
+diff -ru tapestrea-0.1.0.1~/src/makefile.jack tapestrea-0.1.0.1/src/makefile.jack
+--- tapestrea-0.1.0.1~/src/makefile.jack 2006-07-30 17:33:59.000000000 +0200
++++ tapestrea-0.1.0.1/src/makefile.jack 2006-07-30 17:37:11.000000000 +0200
+@@ -1,8 +1,10 @@
+
+-CC=gcc
++CC?=gcc
++CXX?=g++
+ CHUCK_DIR=../scripting/chuck-1.2.0.6/src
+ INCLUDES=
+-FLAGS=-D__LINUX_JACK__ `pkg-config --cflags gtk+-2.0` -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_JACK__ `pkg-config --cflags gtk+-2.0` -c $(CFLAGS)
+ LIBS=-lasound -lstdc++ -lm -lsndfile -lGL -lGLU -lglut -lpthread -ljack `pkg-config --libs gtk+-2.0`
+
+ TAPS_OBJS= taps_analysis.o taps_birdbrain.o taps_driver.o \
+@@ -55,7 +57,7 @@
+
+
+ taps: $(OBJS) chuck
+- gcc -o taps $(OBJS) $(LIBS)
++ $(CXX) -o taps $(OBJS) $(LIBS)
+
+ chuck:
+ make -C $(CHUCK_DIR) linux-jack
+@@ -66,4 +68,4 @@
+ $(CC) $(FLAGS) $(INCLUDES) $*.c
+
+ .cpp.o: $*.h $*.cpp
+- $(CC) $(FLAGS) $(INCLUDES) $*.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) $*.cpp
+diff -ru tapestrea-0.1.0.1~/src/makefile.oss tapestrea-0.1.0.1/src/makefile.oss
+--- tapestrea-0.1.0.1~/src/makefile.oss 2006-07-30 17:33:59.000000000 +0200
++++ tapestrea-0.1.0.1/src/makefile.oss 2006-07-30 17:38:05.000000000 +0200
+@@ -1,8 +1,10 @@
+
+-CC=gcc
++CC?=gcc
++CXX?=g++
+ CHUCK_DIR=../scripting/chuck-1.2.0.6/src
+ INCLUDES=
+-FLAGS=-D__LINUX_OSS__ `pkg-config --cflags gtk+-2.0` -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_OSS__ `pkg-config --cflags gtk+-2.0` -c $(CFLAGS)
+ LIBS=-lstdc++ -lm -lsndfile -lGL -lGLU -lglut -lpthread `pkg-config --libs gtk+-2.0`
+
+ TAPS_OBJS= taps_analysis.o taps_birdbrain.o taps_driver.o \
+@@ -55,7 +57,7 @@
+
+
+ taps: $(OBJS) chuck
+- gcc -o taps $(OBJS) $(LIBS)
++ $(CXX) -o taps $(OBJS) $(LIBS)
+
+ chuck:
+ make -C $(CHUCK_DIR) linux-oss
+@@ -66,4 +68,4 @@
+ $(CC) $(FLAGS) $(INCLUDES) $*.c
+
+ .cpp.o: $*.h $*.cpp
+- $(CC) $(FLAGS) $(INCLUDES) $*.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) $*.cpp
diff --git a/media-sound/tapestrea/metadata.xml b/media-sound/tapestrea/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/media-sound/tapestrea/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/media-sound/tapestrea/tapestrea-0.1.0.1.ebuild b/media-sound/tapestrea/tapestrea-0.1.0.1.ebuild
new file mode 100644
index 000000000..abb032262
--- /dev/null
+++ b/media-sound/tapestrea/tapestrea-0.1.0.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Techniques And Paradigms for Expressive Synthesis, Transformation, and Rendering of Environmental Audio"
+HOMEPAGE="http://taps.cs.princeton.edu/"
+SRC_URI="http://taps.cs.princeton.edu/release/files/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="oss jack alsa doc"
+
+RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
+ alsa? ( >=media-libs/alsa-lib-0.9 )
+ media-libs/libsndfile
+ media-libs/glut
+ virtual/opengl
+ virtual/glu
+ >=x11-libs/gtk+-2"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+pkg_setup() {
+ local cnt=0
+ use jack && cnt="$((${cnt} + 1))"
+ use alsa && cnt="$((${cnt} + 1))"
+ use oss && cnt="$((${cnt} + 1))"
+ if [[ "${cnt}" -eq 0 ]] ; then
+ eerror "One of the following USE flags is needed: jack, alsa or oss"
+ die "Please set one audio engine type"
+ elif [[ "${cnt}" -ne 1 ]] ; then
+ ewarn "You have set ${P} to use multiple audio engine."
+ fi
+}
+
+src_compile() {
+ local backend
+ if use jack; then
+ backend="jack"
+ elif use alsa; then
+ backend="alsa"
+ elif use oss; then
+ backend="oss"
+ fi
+ einfo "Compiling against ${backend}"
+
+ cd "${S}/scripting/chuck-1.2.0.6/src"
+ emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
+
+ cd "${S}/src"
+ emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
+}
+
+src_install() {
+ dobin src/taps
+
+ dodoc AUTHORS BUGS DEVELOPER PROGRAMMER QUICKSTART README THANKS TODO VERSIONS
+ if use doc; then
+ for dir in `find examples/* -type d -maxdepth 0`; do
+ docinto $dir
+ dodoc `find $dir/* -type f -maxdepth 0`
+ for dir2 in `find $dir/* -type d -maxdepth 0`; do
+ docinto $dir2
+ dodoc `find $dir2/* -type f -maxdepth 0`
+ done
+ done
+ docinto doc
+ dodoc doc/*
+ fi
+}