# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/rio500/rio500-0.7-r2.ebuild,v 1.10 2009/01/19 14:29:18 angelos Exp $ inherit autotools eutils DESCRIPTION="Command line tools for transfering mp3s to and from a Rio500" HOMEPAGE="http://rio500.sourceforge.net/" SRC_URI="mirror://sourceforge/rio500/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="=dev-libs/glib-1.2*" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}_gcc34.patch \ "${FILESDIR}"/${P}-asneeded.patch eautoreconf } src_compile() { econf \ --with-fontpath=/usr/share/rio500/ \ --with-id3support || die # --with-usbdevfs emake || die } src_install() { einstall \ datadir="${D}"/usr/share/rio500 || die #delete /usr/include/getopt.h as it is part of glibc, and shouldn't be #installed with rio500 rm "${D}"/usr/include/getopt.h 2>/dev/null dodoc AUTHORS ChangeLog NEWS README TODO dodoc fonts/Readme.txt }