Gentoo Archives: gentoo-commits

From: Michael Weber <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xmw:master commit in: x11-misc/xphoon/
Date: Fri, 29 Apr 2011 00:44:01
Message-Id: f4ba353a2a6cb55fe03b26dad470932af221b239.xmw@gentoo
1 commit: f4ba353a2a6cb55fe03b26dad470932af221b239
2 Author: Michael Weber <xmw <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 00:38:18 2011 +0000
4 Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 00:38:18 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=f4ba353a
7
8 x11-misc/xphoon: initial import
9
10 (Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 62EEF090)
11
12 ---
13 x11-misc/xphoon/Manifest | 13 ++++++++++
14 x11-misc/xphoon/metadata.xml | 11 ++++++++
15 x11-misc/xphoon/xphoon-20000613.ebuild | 40 ++++++++++++++++++++++++++++++++
16 3 files changed, 64 insertions(+), 0 deletions(-)
17
18 diff --git a/x11-misc/xphoon/Manifest b/x11-misc/xphoon/Manifest
19 new file mode 100644
20 index 0000000..3a35dc0
21 --- /dev/null
22 +++ b/x11-misc/xphoon/Manifest
23 @@ -0,0 +1,13 @@
24 +-----BEGIN PGP SIGNED MESSAGE-----
25 +Hash: SHA256
26 +
27 +DIST xphoon-20000613.tar.gz 90463 RMD160 722bb88eae0be6eb72f12c59326acefe7c79a0b9 SHA1 3dcb8dc3d65118b46e900ee07d745feda5f5d2c3 SHA256 84617b4d11789e9b89cf3bf4b09a593593fdd36c76b10d6690860e66f958c747
28 +EBUILD xphoon-20000613.ebuild 781 RMD160 467a8d1b521f39ec4d881c97f5f1bb41724c6123 SHA1 a9b2744af8d12c40cc0eb7f453fb91fe0f33f346 SHA256 b3dadf1f1a2173916f1bf8a2a8d173ba51b0f189968a8ab221e247d6826c0396
29 +MISC metadata.xml 279 RMD160 05f7da84f596bc93b2c6ec144a74742a450e8cf8 SHA1 b4c4799559f22cf2e7327223c8b608f5b96dd409 SHA256 2251598c246f30c0973e0f537febc35a1bd02dad9d64bd9a3edc0d7268e45aef
30 +-----BEGIN PGP SIGNATURE-----
31 +Version: GnuPG v2.0.17 (GNU/Linux)
32 +
33 +iF4EAREIAAYFAk26CHoACgkQknrdDGLu8JD+wwD8Du2Mbb7J7VnsJ5E+bKUwnYxs
34 +8CZMK6lPnaMS6EtncsoA/0doS+4/Eslj+5W8d11ItPYMkHsqWfm2izn+kZ2NRWZe
35 +=IevN
36 +-----END PGP SIGNATURE-----
37
38 diff --git a/x11-misc/xphoon/metadata.xml b/x11-misc/xphoon/metadata.xml
39 new file mode 100644
40 index 0000000..13509a1
41 --- /dev/null
42 +++ b/x11-misc/xphoon/metadata.xml
43 @@ -0,0 +1,11 @@
44 +<?xml version="1.0" encoding="UTF-8"?>
45 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
46 +<pkgmetadata>
47 +<herd>no-herd</herd>
48 +<maintainer>
49 +<email>maintainer-wanted@g.o</email>
50 +</maintainer>
51 +<longdescription lang="en">
52 +</longdescription>
53 +</pkgmetadata>
54 +
55
56 diff --git a/x11-misc/xphoon/xphoon-20000613.ebuild b/x11-misc/xphoon/xphoon-20000613.ebuild
57 new file mode 100644
58 index 0000000..80b7fbf
59 --- /dev/null
60 +++ b/x11-misc/xphoon/xphoon-20000613.ebuild
61 @@ -0,0 +1,40 @@
62 +# Copyright 1999-2011 Gentoo Foundation
63 +# Distributed under the terms of the GNU General Public License v2
64 +# $Header: $
65 +
66 +EAPI=3
67 +
68 +inherit toolchain-funcs
69 +
70 +DESCRIPTION="places the current phase of the moon on your root window"
71 +HOMEPAGE="http://xphoon.sourceforge.net/"
72 +SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
73 +
74 +LICENSE="BSD"
75 +SLOT="0"
76 +KEYWORDS="~amd64"
77 +IUSE=""
78 +
79 +RDEPEND="x11-libs/libX11"
80 +DEPEND="${DEPEND}
81 + x11-misc/imake"
82 +
83 +src_prepare() {
84 + #fix missing exit in line 256
85 + sed -e "/stdio.h/i#include <stdlib.h>" \
86 + -i phase.c || die
87 +}
88 +
89 +src_configure() {
90 + xmkmf || die
91 +}
92 +
93 +src_compile() {
94 + emake CC="$(tc-getCC)" CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" || die
95 +}
96 +
97 +src_install() {
98 + dobin ${PN} || die
99 + newman ${PN}.man ${PN}.1 || die
100 + dodoc README || die
101 +}