# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/denemo/denemo-0.7.2.ebuild,v 1.7 2004/09/14 07:35:27 eradicator Exp $ inherit flag-o-matic MY_P=${P/_} DESCRIPTION="GTK+ graphical music notation editor" HOMEPAGE="http://denemo.sourceforge.net/" SRC_URI="mirror://sourceforge/denemo/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~sparc ~amd64 ~ppc" IUSE="" RDEPEND=">=x11-libs/gtk+-2.0.3 >=dev-libs/libxml2-2.0.0" # media-sound/lilypond DEPEND="${RDEPEND} || ( sys-devel/bison dev-util/yacc ) sys-devel/flex sys-devel/gettext" S="${WORKDIR}/${MY_P}" src_compile() { local myconf append-flags -fpermissive myconf="${myconf} --enable-gtk2" # needs '=yes' use alsa && myconf="${myconf} --enable-alsa=yes" econf ${myconf} || die emake || die } src_install() { make DESTDIR="${D}" install || die # dodoc AUTHORS ChangeLog DESIGN GOALS NEWS README* }