# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_P="${P/_rc/rc}" DESCRIPTION="A media database tool for iRiver H10 Series MP3 Players" HOMEPAGE="http://easyh10.sourceforge.net" SRC_URI="mirror://sourceforge/easyh10/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" RDEPEND="media-libs/libid3tag" S=${WORKDIR}/${MY_P} pkg_postinst () { einfo "EasyH10 uses the .model files installed in /usr/share/easyh10 to" einfo "determine which player you are using (US or International, and" einfo "firmware version). Choose the .model file appropriate for your" einfo "player and copy it to the root of your player's filesystem as" einfo "easyh10.model" } src_install () { into /usr dobin cui/easyh10 doman cui/easyh10.1 dodoc AUTHORS README NEWS ChangeLog #Install player model definitions dodir /usr/share/easyh10 insinto /usr/share/easyh10 doins model/* }