# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit eutils DESCRIPTION="A Linux drop-in replacement for libndofdev Linux maintained by Jan Ciger which handles joysticks and the 6DOF devices." HOMEPAGE="http://www.aaue.dk/~janoc/index.php?n=Personal.3DConnexionSpaceNavigatorSupport" SRC_URI="http://www.aaue.dk/~janoc/files/software/linux/spacenav/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="media-libs/libsdl" DEPEND="${RDEPEND}" S="${WORKDIR}/libndofdev" src_prepare() { epatch "${FILESDIR}/${P}-makefile.patch" } src_install() { # installing headers insinto /usr/include doins ndofdev_external.h # installing library dolib.a libndofdev.a || die "installing lib failed" }