blob: 6df1141340a149841ccd3241e38893bd02223115 (
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-2004 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-r1.ebuild,v 1.6 2004/06/19 05:55:06 weeve Exp $
inherit flag-o-matic
DESCRIPTION="Small window manager with themes and plugins"
HOMEPAGE="http://golem.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 sparc ~amd64 ppc"
IUSE="nls xinerama esd"
DEPEND="virtual/glibc
virtual/x11
esd? ( media-sound/esound )"
src_compile() {
use amd64 && append-flags -fPIC
econf \
`use_enable nls i18n` \
`use_enable esd sound` \
`use_enable xinerama` || die
emake || die
}
src_install() {
einstall || die
dosed "s/\(\(BIN\|DATA\)DIR=\)[[:space:]]*/\1/" /usr/bin/golem.install
dodir /etc/X11/Sessions
echo "/usr/bin/golem" > ${D}/etc/X11/Sessions/golem
fperms a+x /etc/X11/Sessions/golem
dodoc ChangeLog PLUGINS README THEMES TODO
}
pkg_postinst() {
einfo "The user you intend to use golem as (not root!!),"
einfo "just type golem.install"
}
|