blob: bdebcb26a38d0f2db27c2e589682b0769502e598 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rcenter/rcenter-0.6.1.ebuild,v 1.2 2003/07/12 20:30:57 aliz Exp $
DESCRIPTION="Rcenter - A program to control the EMU10K Remote Control"
HOMEPAGE="http://rooster.stanford.edu/~ben/projects/rcenter.php"
SRC_URI="http://rooster.stanford.edu/~ben/projects/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""
# ONLY the emu10k1 drivers are tested . May work with alsa
RDEPEND="emu10k1"
S=${WORKDIR}/${P}
src_compile() {
emake || die
}
src_install() {
chmod 755 rcenter
dobin rcenter
dodir /usr/share/rcenter
cp -R config ${D}/usr/share/rcenter/
dodoc HISTORY LICENSE README
}
pkg_postinst() {
einfo "Rcenter Installed - However You need to setup the scripts"
einfo "for making remote control commands actually work"
einfo " "
einfo "The Skel scripts can be copied from /usr/share/rcenter/config to <user>/.rcenter"
einfo "Where <user> is a person who will use rcenter"
}
|