27 lines
625 B
Bash
27 lines
625 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="GTK-based GUI to configure a space navigator device"
|
|
HOMEPAGE="http://spacenav.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/project/spacenav/spacenavd%20config%20gui/${PN}%20${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
COMMON_DEPEND="x11-libs/gtk+:2"
|
|
DEPEND="${COMMON_DEPEND}
|
|
virtual/pkgconfig"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
app-misc/spacenavd[X]"
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-custom-flags.patch )
|
|
|
|
src_compile() {
|
|
emake CC=$(tc-getCC)
|
|
}
|