# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A wrapper for the Musicbrainz library that gets input in the format of XML Property Lists, used by Linspire's Lsongs" HOMEPAGE="http://software.linspire.com/pool-src/t/trmxml/" MY_PV="0.1" LINSPIRE="0.0.0.50.linspire0.1" LINSPIRE_BUILD_DIR="marlin_build_trmxml-${MY_PV}" SRC_URI="http://software.linspire.com/pool-src/t/${PN}/${PN}_${PV}-${LINSPIRE}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" # TODO: add needed logic for vorbis/mp3 support (i.e. this package can # use a combination of mad and vorbis, but it must have at least one) IUSE="" RESTRICT="nomirror" DEPEND=">=media-libs/musicbrainz-2.0 media-libs/libmad media-sound/madplay media-sound/vorbis-tools" S=${WORKDIR}/${LINSPIRE_BUILD_DIR} src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { mkdir -p ${D}/usr/bin einstall || die "einstall failed" }