blob: bd7274f8126222a9734afea5ec557f3e7c3d2790 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/nomad-tool/nomad-tool-1.3-r1.ebuild,v 1.10 2005/11/08 12:00:19 george Exp $
GUI_V=1.0
DESCRIPTION="Controls the Nomad II MG and IIc portable MP3 players"
HOMEPAGE="http://www.swiss.ai.mit.edu/~cph/nomad.ssp"
SRC_URI="http://www.swiss.ai.mit.edu/~cph/nomad/${P}.tar.gz
http://dev.gentoo.org/~george/nomad-gui/nomad-gui-${GUI_V}.py.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="tcltk"
DEPEND="=dev-libs/glib-1*"
RDEPEND="tcltk? ( dev-lang/python
dev-lang/tcl )"
S=${WORKDIR}
src_compile() {
make PREFIX="/usr" || die "compile failed"
}
src_install() {
dobin nomad-tool
dolib nomad-open
chmod 4755 ${D}/usr/lib/nomad-open
doman nomad-tool.1
dodoc ChangeLog README
#optional gui interface, needs python with tkinter
use tcltk && (
mv nomad-gui-${GUI_V}.py nomad-gui.py
dobin nomad-gui.py
)
}
|