summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2012-01-31 22:38:15 +0100
committerAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2012-01-31 22:52:56 +0100
commit2b2ec86d82bbd4c65c2db3720f7ac5fe7ed6b05f (patch)
treef8bbe893549611be58187f4453cdd3a960dbf1e2 /sys-libs/spacenavd/spacenavd-0.5-r1.ebuild
parentlibspnav-0.2.2, spacenavd-0.5-r1, spnavcfg-0.2.1 (diff)
downloadaluco-2b2ec86d82bbd4c65c2db3720f7ac5fe7ed6b05f.tar.gz
aluco-2b2ec86d82bbd4c65c2db3720f7ac5fe7ed6b05f.tar.bz2
aluco-2b2ec86d82bbd4c65c2db3720f7ac5fe7ed6b05f.zip
sys-libs/spacenavd: Use sourceforge mirror, add missing empty line
Diffstat (limited to 'sys-libs/spacenavd/spacenavd-0.5-r1.ebuild')
-rw-r--r--sys-libs/spacenavd/spacenavd-0.5-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/spacenavd/spacenavd-0.5-r1.ebuild b/sys-libs/spacenavd/spacenavd-0.5-r1.ebuild
index c4cee5d..19e033b 100644
--- a/sys-libs/spacenavd/spacenavd-0.5-r1.ebuild
+++ b/sys-libs/spacenavd/spacenavd-0.5-r1.ebuild
@@ -6,9 +6,10 @@ EAPI="4"
inherit eutils linux-info toolchain-funcs
+MY_PN='spacenav'
DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon."
HOMEPAGE="http://spacenav.sourceforge.net/"
-SRC_URI="http://sourceforge.net/projects/spacenav/files/spacenav%20daemon/spacenavd%20${PV}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}%20daemon/${PN}%20${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -22,6 +23,7 @@ pkg_setup() {
ERROR_CFG="Your kernel needs HOTPLUG for the spacenavd to work properly"
check_extra_config
}
+
src_prepare() {
epatch "${FILESDIR}"/${P}-destdir.patch
epatch "${FILESDIR}"/${P}-custom-flags.patch