# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 #inherit eutils toolchain-funcs IUSE="" DESCRIPTION="LibSBall is a library for communicating with Spaceball 2003, 3000, 3003, or 4000 FLX Six-Degree-Of-Freedom virtual reality controllers made by 3Dconnexion." SRC_URI="http://jedi.ks.uiuc.edu/~johns/code/${P}.tar.gz" HOMEPAGE="http://jedi.ks.uiuc.edu/~johns/projects/libsball/" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" S="${WORKDIR}/${PN}" DIR_INPUT_DEV="${S}/${INPUT_DEV}" DEPEND="" src_unpack() { unpack ${P}.tar.gz } src_compile() { cd ${S} emake || die "emake failed" } src_install() { cd ${S} dolib libsball.a dobin testsball insinto /usr/include doins sball.h }