summaryrefslogtreecommitdiff
blob: 1de2b0cda8a3b06070f72d2240cafe068633d929 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/xearth/xearth-1.1.ebuild,v 1.3 2002/10/17 00:50:36 vapier Exp $

S=${WORKDIR}/${P}
HOMEPAGE="http://www.cs.colorado.edu/~tuna/xearth/"
DESCRIPTION="Xearth sets the X root window to an image of the Earth"
SRC_URI="ftp://cag.lcs.mit.edu/pub/tuna/xearth-${PV}.tar.gz
		ftp://ftp.cs.colorado.edu/users/tuna/xearth-${PV}.tar.gz"

SLOT="0"
LICENSE="xearth"
KEYWORDS="x86"

DEPEND="virtual/x11"
RDEPEND="${DEPEND}"

src_compile() {
	cd ${S}
	xmkmf || die
	mv Makefile Makefile.orig
	sed -e "s:CDEBUGFLAGS = .*:CDEBUGFLAGS = ${CFLAGS} -fno-strength-reduce:" \
			Makefile.orig > Makefile
	emake || die
}

src_install() {
	doman xearth.man
	dobin xearth
	dodoc BUILT-IN GAMMA-TEST HISTORY INSTALL README
}