/[gentoo-x86]/games-util/xboxdrv/xboxdrv-0.8.2.ebuild
Gentoo

Contents of /games-util/xboxdrv/xboxdrv-0.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu Nov 29 02:07:15 2012 UTC (2 years ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
drop old

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-util/xboxdrv/xboxdrv-0.8.2.ebuild,v 1.4 2012/05/03 03:41:15 jdhore Exp $
4
5 EAPI=2
6 inherit scons-utils toolchain-funcs linux-info
7
8 MY_P=${PN}-linux-${PV}
9 DESCRIPTION="Userspace Xbox 360 Controller driver"
10 HOMEPAGE="http://pingus.seul.org/~grumbel/xboxdrv/"
11 SRC_URI="http://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND="dev-libs/boost
19 sys-fs/udev
20 sys-apps/dbus
21 dev-libs/glib:2
22 virtual/libusb:1
23 x11-libs/libX11"
24 DEPEND="${RDEPEND}
25 virtual/pkgconfig"
26
27 S=${WORKDIR}/${MY_P}
28
29 CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
30
31 src_compile() {
32 escons \
33 BUILD=custom \
34 CXX="$(tc-getCXX)" \
35 CXXFLAGS="-Wall ${CXXFLAGS}" \
36 LINKFLAGS="${LDFLAGS}" \
37 || die "scons failed"
38 }
39
40 src_install() {
41 dobin xboxdrv || die "dobin failed"
42
43 insinto /etc/hal/fdi/policy
44 newins hal/xboxdrv_policy.fdi 99-xboxdrv.fdi || die "newins failed"
45 insinto /etc/hal/fdi/preprobe
46 newins hal/xboxdrv_preprobe.fdi 99-xboxdrv.fdi || die "newins failed"
47
48 doman doc/xboxdrv.1
49 dodoc AUTHORS NEWS PROTOCOL README TODO
50 }

  ViewVC Help
Powered by ViewVC 1.1.20