# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="EasyH10 is a media database generator for the iRiver H10 series of Digital Audio Players" HOMEPAGE="http://easyh10.sourceforge.net" SRC_URI="mirror://sourceforge/easyh10/${PN}-1.0b8.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" RDEPEND="media-libs/libid3tag" src_unpack(){ unpack ${A} #package is named bX rather than betaX so move the source dir mv ${PN}-1.0b8 ${P} } pkg_postinst() { einfo "To use EasyH10, you need to copy one of the player profiles from /usr/share/easyh10 to the root folder of your player's filesystem and name it easyh10.model" } src_install(){ into /usr dobin cui/easyh10 doman cui/easyh10.1 dodoc AUTHORS README NEWS COPYING INSTALL ChangeLog #Install player model definitions dodir /usr/share/easyh10 insinto /usr/share/easyh10 doins model/* }