blob: e5ddbb975b0152fa82ad65af14f4fd601f51a2ff (
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
34
35
36
37
38
39
40
41
42
43
44
|
# 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
}
|