# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/gbase/gbase-0.5.ebuild,v 1.4 2012/05/13 16:47:25 hwoarang Exp $ EAPI=2 inherit eutils toolchain-funcs DESCRIPTION="a convert program for decimal, hexadecimal, octal and binary values." HOMEPAGE="http://www.fluxcode.net" SRC_URI="http://www.fluxcode.net/files/${P}.tar.gz" LICENSE="Artistic" SLOT="0" KEYWORDS="~amd64" IUSE="" RDEPEND="x11-libs/gtk+:2" DEPEND="${RDEPEND} virtual/pkgconfig" src_prepare() { epatch "${FILESDIR}"/${P}-gtk.patch } src_compile() { tc-export CC emake || die "emake failed." } src_install() { dobin ${PN} dodoc README }