blob: 6d23a188ab657d3866f96555d4d23b99d1b91bcd (
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
45
46
47
48
|
# Copyright 1999-2005 Gentoo Foundation
# 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.9 2005/05/08 15:44:47 herbs Exp $
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/libc
virtual/x11
esd? ( media-sound/esound )"
src_unpack() {
unpack ${A}
# Build shared libraries (plugins) with -fPIC
sed -i -e "s/^CFLAGS=.*/& -fPIC/" \
${S}/plugins/Makefile.plugin.in || die "sed failed"
}
src_compile() {
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"
}
|