summaryrefslogtreecommitdiff
path: root/app-emulation/x48
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/x48
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/x48')
-rw-r--r--app-emulation/x48/Manifest5
-rw-r--r--app-emulation/x48/metadata.xml22
-rw-r--r--app-emulation/x48/x48-0.6.4.ebuild66
3 files changed, 93 insertions, 0 deletions
diff --git a/app-emulation/x48/Manifest b/app-emulation/x48/Manifest
new file mode 100644
index 000000000000..9fcf30b7e157
--- /dev/null
+++ b/app-emulation/x48/Manifest
@@ -0,0 +1,5 @@
+DIST x48-0.6.4.tar.bz2 227991 SHA256 dd42fb3dfde860abb758f8e6d5ccd01845bbf0dcd808b87786eec3ef7091067f SHA512 60fdba1171a02e4a5f9bcefb29fff9398fdbda50553c3d3b952fab0b4ebf87b219d4615139ca3673b1c61ff6d6559aab3e93218334aa6cdb442d4861347138ce WHIRLPOOL ff2ec2d5930d677a4cde53d8edeec564dea6fff342b2b41059424ad42314e682e412675f98aba7439eb125cf255ee841032e79226f8536e34a2ae4353aa3c2d1
+EBUILD x48-0.6.4.ebuild 1658 SHA256 4ffcd42fe7c1f54748df529ceea759f56532eada487ccad83fa3591e24332648 SHA512 4c3d4048b5c51fa28d348c52ec61281eeca0a5765d69e96c2f978892f6760b6ba06dab713cd68483551022d3b08d5e74c4bca9ec47e03337bbdc59d16bba45eb WHIRLPOOL de44f7e57e978395e90c7e5356b8c8f78ba43a04b9141f0904504d448cb23177f4cc14049932839ea7d92b982003f24f7e831d076319767763a87c37f98d6dfd
+MISC ChangeLog 2169 SHA256 d2558fb85399ceabbd10d444623250d067a88a49fa6fdb4e16a062a22d9cd4c1 SHA512 216d1ab2efcaaa2514d431a2bb8602fa8327fa8b881a7d186b39644773b2f3b13a670dea76acea1ee010f996679a15ba60b38099bb312b2738cb96c71450e46d WHIRLPOOL 2251fe7eb20b69420cce02dd27b8b39f89dffee3bc899f6b434624309c1280fb64aca1c68a02b4b34d9c444ae0967e4669f9a45064ab9e56be3b844eeb542dfc
+MISC ChangeLog-2015 4435 SHA256 3f03cd0bad630a5408672d219abbaec949ae23a2ed1d0f180fa0855a96d5a6b5 SHA512 d0a117e18f4b4964337cba6782c09ae5ad018113b18949df1cd001a01ccc8db3c194452ca84ec85bbb843a9959416b3a0ed28f4dce99b800fe70b9b8201ff6ee WHIRLPOOL 9c662451b3d958cea732d8a0e37e472b0740f43cca4fbb7e99aa9424aaf333b8cea3b57cab0395136b34bc1e9ba73c34bcf550c88ec14a5da639f0614eaa0ecd
+MISC metadata.xml 716 SHA256 20d273244ee46b5dbf952cc4bf27459f85eaa78af354739319a6c7db1f3ee04a SHA512 518c89c4c0d49f9482a9dad05c0d6df7b28121807a9893dedd6448169c62f2719bf4bd1097ce88143bc44e80a782bf6ddb7897062fbce06a5c345b3efb8ffb14 WHIRLPOOL be30ba8ce780f05c82283dc823d4f0e9e3302f0c1961d28c06f8cdfa193fcfee16c9b473b9d60c07a505635b620d189624d32ebf1d09ea62e464e86dd68781d3
diff --git a/app-emulation/x48/metadata.xml b/app-emulation/x48/metadata.xml
new file mode 100644
index 000000000000..b1e78a979e46
--- /dev/null
+++ b/app-emulation/x48/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nimiux@gentoo.org</email>
+ <name>Chema Alonso</name>
+ </maintainer>
+ <longdescription lang="en">
+ The x48 package is an emulator of the Saturn Processor and the I/O of an
+ HP48 calculator.
+ </longdescription>
+ <longdescription lang="es">
+ El paquete x48 es un emulador del procesador Saturn y de la E/S de una
+ calculadora HP48.
+ </longdescription>
+ <use>
+ <flag name="readline">Enables support for libreadline</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">x48.berlios</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emulation/x48/x48-0.6.4.ebuild b/app-emulation/x48/x48-0.6.4.ebuild
new file mode 100644
index 000000000000..cc84f6518da5
--- /dev/null
+++ b/app-emulation/x48/x48-0.6.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit autotools
+
+DESCRIPTION="HP48 Calculator Emulator"
+HOMEPAGE="http://x48.berlios.de/"
+SRC_URI="mirror://sourceforge/x48.berlios/${P}.tar.bz2"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+IUSE="readline"
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ readline? ( sys-libs/readline )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libXt"
+
+src_unpack() {
+ mkdir -p "${S}"
+ cd "${S}"
+ unpack ${A}
+}
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable readline)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ insinto /usr/share/"${PN}"/romdump
+ doins -r romdump/{README,ROMDump*}
+ dodoc AUTHORS README ChangeLog
+}
+
+pkg_postinst() {
+ elog "The X48 emulator requires an HP48 ROM image to run."
+ elog
+ elog "If you own an HP-48 calculator, you can use the ROMDump utility"
+ elog "included with this package to obtain it from your calculator."
+ elog "The instructions of how to do this are included in the package."
+ elog
+ elog "Alternatively, HP has provided the ROM images for non-commercial"
+ elog "use only."
+ elog
+ elog "Due to confusion over the legal status of these ROMs you must"
+ elog "manually download one from http://www.hpcalc.org/hp48/pc/emulators/"
+ elog
+ elog "If you do not know which one to use, try 'HP 48GX Revision R ROM.'"
+ elog
+ elog "Once you have a ROM, you will need to install it by running:"
+ elog
+ elog "x48 -rom gxrom-r"
+ elog
+ elog "You will only have to do this the first time you run X48. The"
+ elog "ROM will be stored in ~/.hp48/rom for future runs."
+}