[proaudio] [ebuild] jackdmp

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Hi,

attached ebuild for the new build system, waf.


Flo
-- 
Machines can do the work, so people have time to think.
public key 6C002249          x-hkp://wwwkeys.eu.pgp.net
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit subversion flag-o-matic 

DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
HOMEPAGE="http://www.grame.fr/~letz/jackdmp.html";

ESVN_REPO_URI="http://subversion.jackaudio.org/jack/jack2/trunk/jackmp";
RESTRICT="nomirror ccache"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="doc dbus monitor"

RDEPEND="dev-util/pkgconfig
	>=media-libs/alsa-lib-0.9.1"

DEPEND="${RDEPEND}
	doc? ( app-doc/doxygen )
	dbus? ( sys-apps/dbus )"

src_compile() {
	local myconf="--destdir=/usr"
#	use amd64 && myconf="${myconf} LIBDIR=/usr/lib64"
	use dbus && myconf="${myconf} --dbus --enable-pkg-config-dbus-service-dir"
	use doc && myconf="${myconf} --doxygen"
	use monitor && myconf="${myconf} --monitor"
	"${S}"/waf configure ${myconf} || die
	"${S}"/waf build
}

src_install() {
	"${S}"/waf --destdir="${D}" install || die
	dodoc Readme Todo ChangeLog
	if use doc; then
          find "${S}/build/default/html" -type d | xargs -- chmod 0755
          find "${S}/build/default/html" -type f | xargs -- chmod 0644
          cp -r "${S}/build/default/html" "${D}/usr/share/doc/${PF}/" || die "cp docs died"
	fi
}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/