x11-misc/xsnow: EAPI update.
authorJeroen Roovers <jer@gentoo.org>
Sun, 24 Jul 2016 11:53:58 +0000 (13:53 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 24 Jul 2016 11:53:58 +0000 (13:53 +0200)
Package-Manager: portage-2.3.0

x11-misc/xsnow/xsnow-1.42-r2.ebuild [new file with mode: 0644]

diff --git a/x11-misc/xsnow/xsnow-1.42-r2.ebuild b/x11-misc/xsnow/xsnow-1.42-r2.ebuild
new file mode 100644 (file)
index 0000000..d337512
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="let it snow on your desktop and windows"
+HOMEPAGE="http://dropmix.xs4all.nl/rick/Xsnow/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+
+RDEPEND="
+       x11-libs/libX11
+       x11-libs/libXt
+       x11-libs/libXext
+       x11-libs/libXpm
+"
+DEPEND="
+       ${RDEPEND}
+       app-text/rman
+       x11-misc/imake
+       x11-misc/gccmakedep
+       x11-proto/xextproto
+       x11-proto/xproto
+"
+
+src_compile() {
+       xmkmf || die
+       make depend || die
+       emake \
+               CC="$(tc-getCC)" \
+               CDEBUGFLAGS="${CFLAGS}" \
+               LOCAL_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+       dobin xsnow
+       rman -f HTML < xsnow._man > xsnow.1-html || die
+       newman xsnow._man xsnow.1
+       newdoc xsnow.1-html xsnow.1.html
+       dodoc README
+}