diff options
Diffstat (limited to 'media-sound/gmorgan/gmorgan-0.25-r1.ebuild')
-rw-r--r-- | media-sound/gmorgan/gmorgan-0.25-r1.ebuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/media-sound/gmorgan/gmorgan-0.25-r1.ebuild b/media-sound/gmorgan/gmorgan-0.25-r1.ebuild index 081639015407..18dff88bd49d 100644 --- a/media-sound/gmorgan/gmorgan-0.25-r1.ebuild +++ b/media-sound/gmorgan/gmorgan-0.25-r1.ebuild @@ -1,12 +1,10 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gmorgan/gmorgan-0.25-r1.ebuild,v 1.3 2008/11/14 10:23:38 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/gmorgan/gmorgan-0.25-r1.ebuild,v 1.4 2008/11/14 10:41:07 aballier Exp $ EAPI=2 -inherit eutils - -IUSE="nls" +inherit eutils autotools DESCRIPTION="gmorgan is an opensource software rhythm station." HOMEPAGE="http://gmorgan.sourceforge.net/" @@ -15,22 +13,23 @@ SRC_URI="mirror://sourceforge/gmorgan/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~sparc ~x86" +IUSE="" RDEPEND=">=x11-libs/fltk-1.1.2:1.1 >=media-libs/alsa-lib-0.9.0[midi]" DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.11.5-r1 )" + >=sys-devel/gettext-0.11.5-r1" src_unpack() { unpack ${A} - cd "${S}/po" - sed -i "/mkinstalldirs =/s%.*%mkinstalldirs = ../mkinstalldirs%" Makefile.in.in cd "${S}" epatch "${FILESDIR}/${PN}-amd64.patch" + rm -f m4/gettext.m4 m4/inttypes_h.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/nls.m4 m4/progtest.m4 m4/stdint_h.m4 m4/uintmax_t.m4 m4/po.m4 || die "failed to remove gettext m4" + eautoreconf } src_install() { - make prefix="${D}/usr" localedir="${D}/usr/share/locale" install || die + emake DESTDIR="${D}" install || die dodoc AUTHORS NEWS README } |