Search:  
Gentoo Wiki

Ucpt:Media-libs/tunepimp/tunepimp-0.4_pre5.ebuild

#

Image:Ebuild_file.png Media-libs/tunepimp/tunepimp-0.4 pre5.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils distutils perl-module

DESCRIPTION="Client library to create MusicBrainz enabled tagging applications"
HOMEPAGE="http://www.musicbrainz.org/products/tunepimp"
SRC_URI="ftp://ftp.musicbrainz.org/pub/musicbrainz/picard/libtunepimp-0.4.0-pre5.tar.gz"




LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="flac mad vorbis readline python"

RDEPEND="dev-libs/expat"
DEPEND="${RDEPEND}
	flac? ( media-libs/flac )
	vorbis? ( media-libs/libvorbis )
	readline? ( sys-libs/readline )
	mad? ( media-libs/libmad )
	>=media-libs/musicbrainz-2.1.0
	dev-util/pkgconfig
	!media-sound/trm"


S=${WORKDIR}/libtunepimp-0.4.0-pre5

src_unpack() {
        unpack ${A}
        cd ${S}

#        epatch ${FILESDIR}/thread.patch

        # do not try to link against obsolete libtermcap
        sed -i -e 's,-ltermcap,-lncurses,' configure
        sed -i -e 's:-lthr:-lpthread:g' ${S}/lib/threads/posix/Makefile.in
}



src_compile() {
	econf || die "configure failed"
	emake || die "emake failed"
		
}

src_install() {
        cd ${S}
        make DESTDIR="${D}" install || die "make install failed"
        dodoc AUTHORS ChangeLog INSTALL README TODO
        if use python; then
                cd ${S}/python
                distutils_src_install
                insinto /usr/share/doc/${PF}/examples/
                doins examples/*
        fi
	
}
#
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Media-libs/tunepimp/tunepimp-0.4_pre5.ebuild"

Last modified: Sat, 29 Oct 2005 12:57:00 +0000 Hits: 1,610