blob: c00ee922132d2b0feafc4c43d38b498f08ab9b9b (
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
50
51
52
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/aewm/aewm-1.2.3.ebuild,v 1.10 2006/09/01 17:25:24 genstef Exp $
inherit eutils
IUSE=""
DESCRIPTION="A minimalistic X11 window manager."
HOMEPAGE="http://www.red-bean.com/%7Edecklin/aewm/"
SRC_URI="http://www.red-bean.com/%7Edecklin/aewm/${P}.tar.gz"
LICENSE="aewm"
SLOT="0"
KEYWORDS="ppc x86"
RDEPEND="|| ( (
x11-libs/libX11
x11-libs/libXt
x11-libs/libXaw
x11-libs/libXft
x11-libs/libXext )
virtual/x11 )"
DEPEND="${RDEPEND}
|| ( (
x11-proto/xproto
x11-proto/xextproto )
virtual/x11 )
>=x11-libs/gtk+-2.0.0
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PV}-freetype-gentoo.diff || die
sed -ie 's/lucidasans-10/-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*/' \
src/aewmrc.sample
}
src_compile() {
make CFLAGS="${CFLAGS}" || die
}
src_install() {
dodir /usr/bin
dodir /usr/share/man/man1
make DESTDIR=${D} XROOT=/usr MANDIR=${D}/usr/share/man/man1 install || die
dodoc ChangeLog README LICENSE
}
pkg_postinst() {
einfo "See /usr/share/doc/${P}/README.gz for some delicious ~/.xinitrc recipes"
}
|