/[gentoo-x86]/app-emulation/x48/x48-0.6.4.ebuild
Gentoo

Contents of /app-emulation/x48/x48-0.6.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Jul 8 15:15:42 2012 UTC (2 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
alpha/ia64/sparc stable wrt #415223

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emulation/x48/x48-0.6.4.ebuild,v 1.7 2012/06/07 22:02:55 ranger Exp $
4
5 EAPI=4
6
7 inherit autotools
8
9 DESCRIPTION="HP48 Calculator Emulator"
10 HOMEPAGE="http://x48.berlios.de/"
11 SRC_URI="mirror://sourceforge/x48.berlios/${P}.tar.bz2"
12 LICENSE="GPL-3"
13
14 SLOT="0"
15 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
16 IUSE="readline"
17
18 RDEPEND="x11-libs/libX11
19 x11-libs/libXext
20 readline? ( sys-libs/readline )"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 x11-libs/libXt"
24
25 src_unpack() {
26 mkdir -p "${S}"
27 cd "${S}"
28 unpack ${A}
29 }
30
31 src_prepare() {
32 eautoreconf
33 }
34
35 src_configure() {
36 econf $(use_enable readline)
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install
41 insinto /usr/share/"${PN}"/romdump
42 doins -r romdump/{README,ROMDump*}
43 dodoc AUTHORS README ChangeLog
44 }
45
46 pkg_postinst() {
47 elog "The X48 emulator requires an HP48 ROM image to run."
48 elog
49 elog "If you own an HP-48 calculator, you can use the ROMDump utility"
50 elog "included with this package to obtain it from your calculator."
51 elog "The instructions of how to do this are included in the package."
52 elog
53 elog "Alternatively, HP has provided the ROM images for non-commercial"
54 elog "use only."
55 elog
56 elog "Due to confusion over the legal status of these ROMs you must"
57 elog "manually download one from http://www.hpcalc.org/hp48/pc/emulators/"
58 elog
59 elog "If you do not know which one to use, try 'HP 48GX Revision R ROM.'"
60 elog
61 elog "Once you have a ROM, you will need to install it by running:"
62 elog
63 elog "x48 -rom gxrom-r"
64 elog
65 elog "You will only have to do this the first time you run X48. The"
66 elog "ROM will be stored in ~/.hp48/rom for future runs."
67 }

  ViewVC Help
Powered by ViewVC 1.1.20