diff options
Diffstat (limited to 'sci-calculators/hcalc/hcalc-1.0-r1.ebuild')
-rw-r--r-- | sci-calculators/hcalc/hcalc-1.0-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-calculators/hcalc/hcalc-1.0-r1.ebuild b/sci-calculators/hcalc/hcalc-1.0-r1.ebuild new file mode 100644 index 000000000000..a920e559fc90 --- /dev/null +++ b/sci-calculators/hcalc/hcalc-1.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="DJ's Hex Calculator" +HOMEPAGE="http://www.delorie.com/store/hcalc/" +SRC_URI="http://www.delorie.com/store/hcalc/${PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-gentoo.patch + tc-export CC +} + +src_install() { + dobin ${PN} +} + +pkg_postinst() { + einfo "Enter hcalc to run and use kill or ctrl-c to exit." +} |