summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jack-cvs')
-rw-r--r--media-sound/jack-cvs/ChangeLog5
-rw-r--r--media-sound/jack-cvs/jack-cvs-0.44.ebuild24
2 files changed, 25 insertions, 4 deletions
diff --git a/media-sound/jack-cvs/ChangeLog b/media-sound/jack-cvs/ChangeLog
index cb9e067b118f..f07cfd7b135b 100644
--- a/media-sound/jack-cvs/ChangeLog
+++ b/media-sound/jack-cvs/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for media-sound/jack-cvs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-cvs/ChangeLog,v 1.2 2003/01/08 00:19:22 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-cvs/ChangeLog,v 1.3 2003/01/13 01:21:36 raker Exp $
*jack-cvs-0.44 (02 Jan 2003)
+ 12 Jan 2003; Nick Hadaway <raker@gentoo.org> jack-cvs-0.44.ebuild :
+ Added the doc USE variable support.
+
07 Jan 2003; Nick Hadaway <raker@gentoo.org> jack-cvs-0.44.ebuild :
Now provides virtual/jack.
diff --git a/media-sound/jack-cvs/jack-cvs-0.44.ebuild b/media-sound/jack-cvs/jack-cvs-0.44.ebuild
index 9cb34555fae5..06594b71d37a 100644
--- a/media-sound/jack-cvs/jack-cvs-0.44.ebuild
+++ b/media-sound/jack-cvs/jack-cvs-0.44.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-cvs/jack-cvs-0.44.ebuild,v 1.2 2003/01/08 00:19:22 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-cvs/jack-cvs-0.44.ebuild,v 1.3 2003/01/13 01:21:36 raker Exp $
IUSE="doc"
@@ -24,7 +24,8 @@ DEPEND="dev-libs/glib
>=media-libs/alsa-lib-0.9.0_rc6
>=media-libs/libsndfile-1.0.0
>=x11-libs/fltk-1.1.1
- !media-sound/jack-audio-connection-kit"
+ !media-sound/jack-audio-connection-kit
+ doc? ( app-doc/doxygen )"
PROVIDE="virtual/jack"
S="${WORKDIR}/${PN/-cvs/}"
@@ -33,12 +34,29 @@ src_compile() {
export LDFLAGS="-L/usr/lib/fltk-1.1"
export CPPFLAGS="-I/usr/include/fltk-1.1"
sh autogen.sh
+
+ local myconf
+ use doc \
+ && myconf="--with-html-dir=/usr/share/doc/${PF}/html" \
+ || myconf="--without-html-dir"
+
econf || die "configure failed"
emake || die "parallel make failed"
}
src_install() {
- make DESTDIR=${D} install || die
+
+ use doc && dodir /usr/share/doc/${PF}/html
+
+ make \
+ DESTDIR=${D} \
+ datadir=${D}/usr/share \
+ install || die
+
+ use doc && mv \
+ ${D}/usr/share/jack-audio-connection-kit/reference/html/* \
+ ${D}/usr/share/doc/${PF}/html
+ use doc && rm -rf ${D}/usr/share/jack-audio-connection-kit
}
pkg_postinst() {