summaryrefslogtreecommitdiff
blob: 0b38118e88d63e8becbf1e1ceef28eff34442793 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/gtkdiskfree/gtkdiskfree-1.8.4.ebuild,v 1.4 2003/02/13 05:24:40 vapier Exp $

DESCRIPTION="GtkDiskFree is a program which shows free space on your mounted filesystems"
HOMEPAGE="http://gtkdiskfree.tuxfamily.org/"
SRC_URI="http://gtkdiskfree.tuxfamily.org/src_tgz/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="nls"

DEPEND="=x11-libs/gtk+-1.2*
	=dev-libs/glib-1.2*
	nls? ( sys-devel/gettext ) "

src_compile() {
	local myconf
	use nls \
		&& myconf="--enable-nls" \
		|| myconf="--disable-nls"
	econf ${myconf}

	emake all || die "emake failed"
}

src_install() {
	einstall DESTDIR=${D}
	dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}