summaryrefslogtreecommitdiff
blob: c94fd5a2cf0675f31b710bc4865b9f1e1e087e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/rio/rio-1.0.7.ebuild,v 1.10 2005/08/20 03:07:11 vanquirius Exp $

inherit eutils

DESCRIPTION="Utility for the Diamond Rio 300 portable MP3 player"
HOMEPAGE="http://www.world.co.uk/sba/rio.html"
SRC_URI="http://www.world.co.uk/sba/${PN}007.tgz"

KEYWORDS="x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""

DEPEND="virtual/libc"
RDEPEND=""

S="${WORKDIR}/${PN}${PV//./}"

src_unpack() {
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/${P}-makefile.patch
}

src_compile() {
	emake || die "compile failed"
}

src_install() {
	dobin rio || die
	dodoc CREDITS README gpl.txt playlist.txt rio.txt
}