# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Maintainer: Oleg Blazhyievsyi <1566@42429.com>
# $Header: gnome-specimen-0.1.ebuild  Wed Dec 27 17:04:11 EET 2006 $

DESCRIPTION="Simple tool to view and compare fonts installed on your system"
HOMEPAGE="http://uwstopia.nl/blog/2006/11/gnome-specimen-0-1-is-out"

MY_P=${PN}-${PV}
SRC_URI="http://uwstopia.nl/files/2006/11/${MY_P}.tar.gz"

LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"

DEPEND=">=dev-lang/python-2.4                                                                                
        >=dev-python/pygtk-2.0"



S="${WORKDIR}/${MY_P}"
src_unpack() {
	unpack ${A}
	cd ${S} || die
}
src_compile() {
	./configure \
	--host=${CHOST} \
	--prefix=/usr \
	--infodir=/usr/share/info \
	--mandir=/usr/share/man || die "./configure failed"	
	emake || die "emake failed"
}

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