summaryrefslogtreecommitdiff
blob: 7d5985b84ef9b6ba9471da55c66db69fc4315a8c (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
# 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>
# $Header: /var/cvsroot/gentoo-x86/x11-wm/WindowMaker/WindowMaker-0.62.1-r1.ebuild,v 1.4 2000/11/02 08:31:54 achim Exp $

P=WindowMaker-0.62.1
A="${P}.tar.gz WindowMaker-extra-0.1.tar.bz2"
S=${WORKDIR}/${P}
DESCRIPTION="Window Maker"
SRC_URI="ftp://ftp.windowmaker.org/pub/release/srcs/current/WindowMaker-0.62.1.tar.gz
	ftp://ftp.windowmaker.org/pub/release/srcs/current/WindowMaker-extra-0.1.tar.bz2"
HOMEPAGE="http://www.windowmaker.org/"

DEPEND=">=sys-libs/glibc-2.1.3
	>=media-libs/jpeg-6b
	>=media-libs/tiff-3.5.5
	>=media-libs/libpng-1.0.7
	>=media-libs/giflib-4.1.0
	>=x11-libs/libPropList-0.10.1
	>=x11-base/xfree-4.0.1"

src_compile() {                           
  cd ${S}
  try ./configure --host=${CHOST} --prefix=/usr/X11R6 --sysconfdir=/etc/X11 \
	--enable-gnome --enable-kde --with-x --enable-newstyle --enable-superfluous
  try make
  cd ../WindowMaker-extra-0.1
  try ./configure --host=${CHOST} --prefix=/usr/X11R6
  try make
}

src_install() {                               
  cd ${S}
  try make prefix=${D}/usr/X11R6 sysconfdir=${D}/etc/X11 install
  cp -f WindowMaker/plmenu ${D}/etc/X11/WindowMaker/WMRootMenu
  strip ${D}/usr/X11R6/bin/*
  strip ${D}/usr/X11R6/GNUstep/Apps/WPrefs.app/WPrefs
  dodoc AUTHORS BUGFORUM BUGS ChangeLog COPYING* FAQ* README* NEWS TODO
  
  cd ../WindowMaker-extra-0.1
  try make prefix=${D}/usr/X11R6 install
  newdoc README README.extra
  prepman /usr/X11R6
  
  

}