You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/free42/free42-1.4.74.ebuild

40 lines
800 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/free42/free42-1.4.74.ebuild,v 1.2 2012/07/03 04:55:32 jdhore Exp $
EAPI=4
inherit toolchain-funcs
DESCRIPTION="An HP-42S Calculator Simulator"
HOMEPAGE="http://thomasokken.com/free42/"
SRC_URI="mirror://gentoo/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="dev-libs/atk
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+
x11-libs/pango"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}
src_prepare() {
sed -i -e 's/hash-style=both/hash-style=gnu/' "${S}/gtk/Makefile" || die
}
src_compile() {
make CXX="$(tc-getCXX)" -C "${S}/gtk" || die
}
src_install() {
dodoc CREDITS HISTORY README TODO
dobin gtk/free42bin
}