summaryrefslogtreecommitdiff
blob: 8a1d4414a615e423c6810ffdfe876fe34712bd91 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/psemu-padjoy/psemu-padjoy-0.62.ebuild,v 1.1 2002/07/29 13:14:07 stubear Exp $

DESCRIPTION="PSEmu plugin to use joysticks/gamepads in PSX-emulators"
HOMEPAGE="http://www.ammoq.com"
LICENSE="GPL-2" # No mention of a license.. That makes it Public Domain?
KEYWORDS="x86"
SLOT="0" 
DEPEND="x11-libs/gtk+"
RDEPEND="${DEPEND}"
SRC_URI="http://members.chello.at/erich.kitzmueller/ammoq/padJoy062.tgz"
S=${WORKDIR}/padJoy

src_compile() {
	cd src
	( echo CFLAGS = ${CFLAGS}
	  sed 's/CFLAGS =/CFLAGS +=/' < Makefile ) >Makefile.gentoo
	emake -f Makefile.gentoo
}

src_install () {
	insinto /usr/lib/psemu/plugins
	doins src/libpad*
	chmod 755 ${D}/usr/lib/psemu/plugins/*
	dodoc readme.txt
}