blob: 42342666d7caad522ff28b6d0990518e7e2a4d1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="sets X the root window to a picture of the moon in its current phase"
HOMEPAGE="http://acme.com/software/xphoon/"
MY_PV="14Aug2014"
SRC_URI="http://acme.com/software/${PN}/${PN}_${MY_PV}.tar.gz"
RESTRICT="mirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXext
x11-misc/xbitmaps
"
DEPEND="${RDEPEND}
x11-misc/imake"
S="${WORKDIR}/${PN}"
src_configure() {
xmkmf || die
sed -i '/ CC = gcc/d' "Makefile"
}
src_compile() {
emake CCOPTIONS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}"
}
src_install() {
dobin ${PN}
newman ${PN}.man ${PN}.1
dodoc README
}
|