x11-misc/fireflies: Install helper to /usr/bin rather than /usr/lib (bug #563206)
authorSebastian Pipping <sping@gentoo.org>
Sun, 18 Oct 2015 20:13:12 +0000 (22:13 +0200)
committerSebastian Pipping <sping@gentoo.org>
Sun, 18 Oct 2015 20:16:01 +0000 (22:16 +0200)
Package-Manager: portage-2.2.23

x11-misc/fireflies/fireflies-2.08-r1.ebuild [new file with mode: 0644]

diff --git a/x11-misc/fireflies/fireflies-2.08-r1.ebuild b/x11-misc/fireflies/fireflies-2.08-r1.ebuild
new file mode 100644 (file)
index 0000000..0484e4a
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools multilib
+
+DESCRIPTION="Fireflies screensaver: Wicked cool eye candy"
+HOMEPAGE="https://github.com/mpcomplete/fireflies"
+SRC_URI="https://github.com/mpcomplete/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 icu"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl
+       virtual/glu
+       virtual/opengl
+       x11-libs/libX11"
+DEPEND="${RDEPEND}
+       sys-devel/autoconf-archive"  # for AX_CXX_BOOL macro
+
+DOCS=( ChangeLog README.md TODO )
+
+src_prepare() {
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --with-confdir=/usr/share/xscreensaver/config \
+               --with-bindir="/usr/$(get_libdir)/misc/xscreensaver"
+}
+
+src_install() {
+       newbin {,${PN}-}add-xscreensaver
+
+       default
+}