blob: ec441f65bc7900e4d6471b52ee3b529a15fbff09 (
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
49
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Ben Lutgens <lamer@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/x11-wm/blackbox/blackbox-0.65.0_alpha7.ebuild,v 1.1 2002/06/02 17:44:07 spider Exp $
#Needed to change ${P} to match actual tarball version name.
#It is an invalid ebuild name. Much simpler this way.
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="A small, fast, full-featured window manager for X"
SRC_URI="http://prdownloads.sf.net/blackboxwm/${MY_P}.tar.gz"
# Old homepage:
# HOMEPAGE="http://blackbox.alug.org/"
HOMEPAGE="http://blackboxwm.sf.net/"
DEPEND="virtual/x11"
RDEPEND="${DEPEND}
nls? ( sys-devel/gettext )"
PROVIDE="virtual/blackbox"
src_compile() {
local myconf
use nls || myconf="${myconf} --disable-nls"
./configure \
--build=${CHOST} \
--prefix=/usr \
--sysconfdir=/etc/X11/blackbox \
${myconf} || die "configure failure"
emake || die "emake failure"
}
src_install () {
make prefix=${D}/usr \
sysconfdir=${D}/etc/X11/blackbox \
install || die "install failure"
dodoc ChangeLog* AUTHORS LICENSE README* TODO*
exeinto /etc/X11/Sessions
doexe $FILESDIR/blackbox
}
|