blob: a306802101af1d69d221bf0113708505a7a06334 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/ddrmat/ddrmat-0.12.ebuild,v 1.6 2007/03/12 13:24:24 genone Exp $
DESCRIPTION="Kernel module for parallel port Playstation joystick (i.e. DDR mats) adapters"
HOMEPAGE="http://www.icculus.org/pyddr/"
SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
DEPEND="virtual/linux-sources"
src_compile() {
env -u ARCH emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc README ChangeLog
insinto /etc/modules.d
doins "${FILESDIR}/ddrmat" || die "doins failed"
}
pkg_postinst() {
[[ ${ROOT} == "/" ]] && /sbin/modules-update
elog "You can insert the ddrmat module via \"modprobe ddrmat gc=0,7\" or"
elog "you can add \"ddrmat\" to your \"/etc/modules.autoload\" to load it"
elog "when the system is started."
}
|