blob: 362319b0102b69402869ea31643c4150b375d80e (
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
|
# Copyright 1999-2006 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.9 2006/10/31 12:43:34 opfer Exp $
inherit 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}"/src/
epatch "${FILESDIR}"/${P}_gcc34.patch
}
src_compile() {
econf \
--with-fontpath=/usr/share/rio500/ \
--with-id3support || die
# --with-usbdevfs
make || 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
}
|