summaryrefslogtreecommitdiff
blob: 46636f18bb315c6bb0b6ec0ac7cba33b03175a10 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/fsviewer/fsviewer-0.2.5.ebuild,v 1.7 2007/07/22 05:36:37 dberkholz Exp $

inherit eutils

MY_PN="FSViewer"

DESCRIPTION="file system viewer for Window Maker"
HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/"
SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_PN}.app-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"

IUSE=""

DEPEND=">=x11-wm/windowmaker-0.92.0-r3
	x11-libs/libX11
	x11-libs/libXft
	x11-libs/libXmu
	x11-libs/libPropList
	x11-libs/libXpm
	x11-libs/libXext
	x11-libs/libXrender
	x11-libs/libXt
	x11-libs/libSM
	x11-libs/libICE
	x11-libs/libXau
	x11-libs/libXdmcp
	x11-proto/xproto
	x11-proto/xextproto
	media-libs/tiff
	media-libs/libpng
	media-libs/jpeg
	media-libs/giflib
	media-libs/libpng
	media-libs/fontconfig
	media-libs/freetype
	dev-libs/expat
	sys-libs/zlib"

S="${WORKDIR}/${MY_PN}.app-${PV}"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-windowmaker.patch
}

src_compile() {
	econf --with-appspath=/usr/lib/GNUstep \
		--with-extralibs=-lXft \
		|| die "econf failed"
	emake || die "emake failed"
}

src_install() {
	make DESTDIR=${D} install || die "make install failed"
}