summaryrefslogtreecommitdiff
blob: 98da43e21dc581a3fbaf24da13d8a46da2ebac5c (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/golem/golem-0.0.5.ebuild,v 1.2 2003/02/13 17:49:15 vapier Exp $

DESCRIPTION="Small window manager with themes and plugins"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
HOMEPAGE="http://golem.sourceforge.net/"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE="nls"

DEPEND="virtual/glibc
	virtual/x11"

S="${WORKDIR}/${P}"

src_compile() {
	local myconf
	use nls && myconf="${myconf} --enable-i18n"

	econf \
		--prefix=/usr \
		--datadir=/usr/share \
		${myconf} || die

	emake || die
}

src_install() {
	einstall || die

	dosed "s/BINDIR=	*/BINDIR=/" /usr/bin/golem.install
	dosed "s/DATADIR=	*/DATADIR=/" /usr/bin/golem.install

	dodoc LICENSE PLUGINS README THEMES TODO

	einfo "The user you intend to use golem as (not root!!),"
	einfo "just type golem.install"
}