blob: d5e71d2a8f83e7c155f76874eafeaf6c6d4785c0 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/xdiskusage/xdiskusage-1.48.ebuild,v 1.9 2010/06/06 09:03:34 ssuominen Exp $
EAPI=1
inherit eutils
DESCRIPTION="front end to xdu for viewing disk usage graphically under X11"
HOMEPAGE="http://xdiskusage.sourceforge.net/"
SRC_URI="http://xdiskusage.sourceforge.net/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86 ~x86-fbsd"
IUSE=""
DEPEND="x11-libs/fltk:1.1"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-amd64.patch
}
src_compile() {
econf
emake -j1 \
CXXFLAGS="$CXXFLAGS `fltk-config --cxxflags`" \
LDLIBS="`fltk-config --ldflags`" || die
}
src_install() {
dobin xdiskusage || die
doman xdiskusage.1
dodoc README
}
|