summaryrefslogtreecommitdiff
path: root/app-emulation/x48
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-26 11:42:28 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-26 11:42:28 +0000
commit89c6c06b8c42107dd231687a1012354e7d3039fc (patch)
treedad94f4da8a6694f3cb99f7048be2f9cf5f78f97 /app-emulation/x48
parent796cae72cf9ed18ba01256ac1f83a686a2a76036 (diff)
gentoo resync : 26.11.2017
Diffstat (limited to 'app-emulation/x48')
-rw-r--r--app-emulation/x48/Manifest9
-rw-r--r--app-emulation/x48/x48-0.6.4-r1.ebuild68
2 files changed, 72 insertions, 5 deletions
diff --git a/app-emulation/x48/Manifest b/app-emulation/x48/Manifest
index 9fcf30b7e157..f8c56de3174d 100644
--- a/app-emulation/x48/Manifest
+++ b/app-emulation/x48/Manifest
@@ -1,5 +1,4 @@
-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
+DIST x48-0.6.4.tar.bz2 227991 BLAKE2B 8db2962860eeb161a8efc9d46730c71d95d0331157e3e2481a978385ad54b04b7a4eb601c68e7df966194b23e0cd04bed4e80511d22695bb7ccdd3959d8fd8d7 SHA512 60fdba1171a02e4a5f9bcefb29fff9398fdbda50553c3d3b952fab0b4ebf87b219d4615139ca3673b1c61ff6d6559aab3e93218334aa6cdb442d4861347138ce
+EBUILD x48-0.6.4-r1.ebuild 1739 BLAKE2B f531e9387364780e4caad1a8e0781448a19aedae58fa184ac9f029a727194888e348f0b2b005f520fb9784ad620ba7bb473e6ef17ab08665965aafc0223562af SHA512 7ddfc8563f490049da4d42d2991037ab0ea8ff05d51238073e6ca640be34eafe70fd91f5af09c7d03acdca6ce7b92b735df5c64264635e27bd8914a3165357b5
+EBUILD x48-0.6.4.ebuild 1658 BLAKE2B 188fa81f668f207fdf11b780dec7ed88d85aa361fe1d496a5e1aaa5c62525afce937c3fedae24927fd66746ceea936d5b7a0a0c2ca19181ec513234b4fd0ea91 SHA512 4c3d4048b5c51fa28d348c52ec61281eeca0a5765d69e96c2f978892f6760b6ba06dab713cd68483551022d3b08d5e74c4bca9ec47e03337bbdc59d16bba45eb
+MISC metadata.xml 716 BLAKE2B 6869cac178f0a9b87c943acbced134699bb4deb1309a14ceffd6ae71ec876224e50657b2adf8329c05f180f35317bccad048d4c4597b5945e940d98a734b1787 SHA512 518c89c4c0d49f9482a9dad05c0d6df7b28121807a9893dedd6448169c62f2719bf4bd1097ce88143bc44e80a782bf6ddb7897062fbce06a5c345b3efb8ffb14
diff --git a/app-emulation/x48/x48-0.6.4-r1.ebuild b/app-emulation/x48/x48-0.6.4-r1.ebuild
new file mode 100644
index 000000000000..ecfda887eaf8
--- /dev/null
+++ b/app-emulation/x48/x48-0.6.4-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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:5 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libXt"
+
+src_unpack() {
+ mkdir -p "${S}"
+ cd "${S}"
+ unpack ${A}
+}
+
+src_prepare() {
+ eapply_user
+ sed -i '698s/inline/static inline/' src/emulate.c || die
+ 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."
+}