# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="PartGUI is a nice graphical partition tool for Linux"
HOMEPAGE="http://part-gui.sourceforge.net/"
SRC_URI="mirror://sourceforge/part-gui/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="-* ~x86"
IUSE=""
DEPEND=">=x11-libs/qt-3.1.0
        >=sys-apps/parted-1.6.5
        >=sys-apps/xfsprogs-2.3.9
        >=sys-apps/e2fsprogs-1.33"
#RDEPEND=""
S=${WORKDIR}/${P}

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"
	emake || die
}

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