blob: 212e4eb8e16f0dbff9c0c0027b214a3a1287e50d (
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
43
44
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="let it snow on your desktop and windows"
HOMEPAGE="https://janswaal.home.xs4all.nl/Xsnow/"
SRC_URI="https://janswaal.home.xs4all.nl/Xsnow/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
RDEPEND="
x11-libs/libX11
x11-libs/libXt
x11-libs/libXext
x11-libs/libXpm
"
DEPEND="
${RDEPEND}
app-text/rman
x11-base/xorg-proto
x11-misc/imake
x11-misc/gccmakedep
"
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
}
|