diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2012-01-24 01:41:57 +0100 |
---|---|---|
committer | Anthoine Bourgeois <anthoine.bourgeois@gmail.com> | 2012-01-25 20:19:46 +0100 |
commit | 85cde33d1adc8c84c39a9f821081a7ba7736cf3b (patch) | |
tree | 8adf7c4f7a6b42f7e852487229fd6aa0803a6e44 | |
parent | sys-libs/spacenavd: 0.5-r1 (diff) | |
download | aluco-85cde33d1adc8c84c39a9f821081a7ba7736cf3b.tar.gz aluco-85cde33d1adc8c84c39a9f821081a7ba7736cf3b.tar.bz2 aluco-85cde33d1adc8c84c39a9f821081a7ba7736cf3b.zip |
x11-misc/spnavcfg: 0.2.1
-rw-r--r-- | x11-misc/spnavcfg/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/x11-misc/spnavcfg/Manifest b/x11-misc/spnavcfg/Manifest new file mode 100644 index 0000000..593d248 --- /dev/null +++ b/x11-misc/spnavcfg/Manifest @@ -0,0 +1,2 @@ +DIST spnavcfg-0.2.1.tar.gz 18717 RMD160 fee35e0350b685004b176d9d0e2d1fddecd2ae46 SHA1 1ec1e414d8edcd1621e2c555d0fe8a06c16dbef5 SHA256 a26d4478480f2fb65217cb0d88da5ff81a38c27aaa74710778ea0b999259c4c1 +EBUILD spnavcfg-0.2.1.ebuild 875 RMD160 38615d29f81cbc24793e3289982beabb0de58305 SHA1 e1fe88d9168fb136b9836956d0e0d2c5d847f8e4 SHA256 f933cccc0f21ffa74b7774f9e90839cf2cb7e767c98cf73e2240a1503a8aa4e4 diff --git a/x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild b/x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild new file mode 100644 index 0000000..633a331 --- /dev/null +++ b/x11-misc/spnavcfg/spnavcfg-0.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +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} + dev-util/pkgconfig" +RDEPEND="${COMMON_DEPEND} + sys-libs/spacenavd" + +src_prepare() { + rm configure || die + mv Makefile{.in,} || die +} + +src_compile() { + # TODO Improve build system upstream + emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+-2.0)" \ + LDFLAGS="${LDFLAGS} $(pkg-config --libs gtk+-2.0)" \ + CC=$(tc-getCC) \ + || die +} + +src_install() { + emake PREFIX="${D}/usr" install || die +} |