diff options
author | Tavis Ormandy <taviso@gentoo.org> | 2006-01-26 20:18:30 +0000 |
---|---|---|
committer | Tavis Ormandy <taviso@gentoo.org> | 2006-01-26 20:18:30 +0000 |
commit | 9c6e8bcef1a5d92bc0d909ffa4f35efd9626b939 (patch) | |
tree | 0fc8dba87c56b3d9c17067769f0afd0929481a12 /app-emulation/x48/x48-0.4.3.ebuild | |
parent | Marked stable on hppa (bug #119451). (diff) | |
download | gentoo-2-9c6e8bcef1a5d92bc0d909ffa4f35efd9626b939.tar.gz gentoo-2-9c6e8bcef1a5d92bc0d909ffa4f35efd9626b939.tar.bz2 gentoo-2-9c6e8bcef1a5d92bc0d909ffa4f35efd9626b939.zip |
initial import
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'app-emulation/x48/x48-0.4.3.ebuild')
-rw-r--r-- | app-emulation/x48/x48-0.4.3.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-emulation/x48/x48-0.4.3.ebuild b/app-emulation/x48/x48-0.4.3.ebuild new file mode 100644 index 000000000000..1b150ef96a0a --- /dev/null +++ b/app-emulation/x48/x48-0.4.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/x48/x48-0.4.3.ebuild,v 1.1 2006/01/26 20:18:30 taviso Exp $ + +inherit eutils + +DESCRIPTION="HP48 Calculator Emulator" +HOMEPAGE="http://x48.berlios.de/" +SRC_URI="http://download.berlios.de/x48/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="|| ( ( x11-proto/xextproto ) virtual/x11 )" +DEPEND="${RDEPEND} + || ( ( x11-libs/libXext x11-libs/libX11 x11-misc/imake ) virtual/x11 ) + sys-libs/readline + sys-libs/ncurses + sys-libs/gpm" + +src_compile() { + xmkmf || die + emake CCOPTIONS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" || die +} + +src_install() { + dobin ${S}/src/checkrom ${S}/src/dump2rom ${S}/src/mkcard ${S}/src/x48 + + newman ${S}/src/x48.man x48.1 + + dodir /usr/lib/X11/app-defaults + insinto /usr/lib/X11/app-defaults/ + newins ${S}/src/X48.ad X48 + + dodoc ${S}/doc/CARDS.doc ${S}/doc/ROMDump.doc + dodoc ${S}/romdump/ROMDump ${S}/romdump/ROMDump.s +} + +pkg_postinst() { + einfo "The X48 emulator requires an HP48 ROM Image to run." + einfo + einfo "You can use the ROMDump utility and documentation included with this" + einfo "package to obtain this from your HP48 calculator." +} |