blob: 285a2b4cb7fd3f97008a5a0f9dbfa9b8d5844dac (
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_alpha8.ebuild,v 1.1 2002/06/17 19:24:20 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
}
|