blob: c438555b197b46f8e0b6915632df49988b163701 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
S=${WORKDIR}/${P}
DESCRIPTION="Window Maker"
SRC_URI="ftp://ftp.windowmaker.org/pub/source/release/${P}.tar.gz
ftp://ftp.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.bz2"
HOMEPAGE="http://www.windowmaker.org/"
DEPEND="virtual/glibc virtual/x11
>=media-libs/tiff-3.5.5
>=media-libs/libpng-1.0.12
>=media-libs/giflib-4.1.0-r3
>=media-libs/jpeg-6b-r2
x11-wm/gnustep-env"
# Replaced by WINGS
# >=x11-libs/libPropList-0.10.1"
src_compile() {
local myconf
if [ "`use gnome`" ] ; then
myconf="--enable-gnome"
fi
if [ "`use kde`" ] ; then
myconf="$myconf --enable-kde"
fi
./configure --host=${CHOST} \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc/X11 \
--with-x \
--enable-newstyle \
--enable-superfluous \
--enable-usermenu \
$myconf || die
make || die
# WindowMaker Extra
cd ../WindowMaker-extra-0.1
./configure --host=${CHOST} \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info || die
make || die
}
src_install() {
make prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
sysconfdir=${D}/etc/X11 \
GNUSTEP_LOCAL_ROOT=${D}${GNUSTEP_LOCAL_ROOT} \
install || die
cp -f WindowMaker/plmenu ${D}/etc/X11/WindowMaker/WMRootMenu
dodoc AUTHORS BUGFORUM BUGS ChangeLog COPYING* INSTALL* FAQ* \
MIRRORS README* NEWS TODO
# WindowMaker Extra
cd ../WindowMaker-extra-0.1
make prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
newdoc README README.extra
}
|