diff options
author | Domen Kožar <domen@dev.si> | 2010-09-06 09:36:37 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2010-09-06 09:36:37 +0200 |
commit | 7dea0224ae86cd00d50396c5da8b5707133ee1a0 (patch) | |
tree | 2e15fb13d1493b64111f8cb37b9668c424fd83a2 /app-pda/hptalx | |
parent | update lirc ebuild (diff) | |
download | iElectric-7dea0224ae86cd00d50396c5da8b5707133ee1a0.tar.gz iElectric-7dea0224ae86cd00d50396c5da8b5707133ee1a0.tar.bz2 iElectric-7dea0224ae86cd00d50396c5da8b5707133ee1a0.zip |
adding hptalx for 50g communication
Diffstat (limited to 'app-pda/hptalx')
-rw-r--r-- | app-pda/hptalx/Manifest | 4 | ||||
-rw-r--r-- | app-pda/hptalx/files/hptalx-1.3.1a-hptalx.patch | 11 | ||||
-rw-r--r-- | app-pda/hptalx/files/hptalx-1.3.1a-preamble.patch | 11 | ||||
-rw-r--r-- | app-pda/hptalx/hptalx-1.3.1a.ebuild | 54 |
4 files changed, 80 insertions, 0 deletions
diff --git a/app-pda/hptalx/Manifest b/app-pda/hptalx/Manifest new file mode 100644 index 0000000..c1c3a39 --- /dev/null +++ b/app-pda/hptalx/Manifest @@ -0,0 +1,4 @@ +AUX hptalx-1.3.1a-hptalx.patch 293 RMD160 523ae4e3dcc59ca6777c7e79676ccade27ee2b54 SHA1 5ab30148189c62552ace3623da6f67ba20b71b29 SHA256 b94ebfd667295ebef34f6dd1cdcf856a174e2bf816020a70e0598c104260454d +AUX hptalx-1.3.1a-preamble.patch 1059 RMD160 5446c63c75ae3f96995a025d6bd216b04ad6fe1b SHA1 0c854d3945e294acbcffbc2e737f3ca6fd496d7d SHA256 7df2111e238e0f51800533a3f6214ec80b268daf8e9bf282da795653906ed611 +DIST hptalx-1.3.1a.tar.bz2 172467 RMD160 014727c8c488fb907a23493f7bd690e83233c6ec SHA1 58adc242514d62558f2f9e886f66cba8aa11bece SHA256 9921531c8d4cd8f254f483761a8c2021dc1f37683d8e4ae7841ade3f15e13d27 +EBUILD hptalx-1.3.1a.ebuild 1472 RMD160 90db625118a01f5f461ad25727bb1d3615b7415d SHA1 df475be955332a778a05ad661e553aee7e71c94d SHA256 cbe258c16564db575cf2787bb46f424dbc45e59bf00c6656023ff25dd2a494a9 diff --git a/app-pda/hptalx/files/hptalx-1.3.1a-hptalx.patch b/app-pda/hptalx/files/hptalx-1.3.1a-hptalx.patch new file mode 100644 index 0000000..16e35c8 --- /dev/null +++ b/app-pda/hptalx/files/hptalx-1.3.1a-hptalx.patch @@ -0,0 +1,11 @@ +--- unpatched/hptalx.sgml.in 2008-03-08 13:14:47.000000000 -0800 ++++ doc/hptalx.sgml.in 2008-03-08 13:21:21.000000000 -0800 +@@ -65,7 +65,7 @@ + <para> + In order to build and run &hpt;, you need following additional software + installed on your system: +-<para> ++</para> + + <itemizedlist> + diff --git a/app-pda/hptalx/files/hptalx-1.3.1a-preamble.patch b/app-pda/hptalx/files/hptalx-1.3.1a-preamble.patch new file mode 100644 index 0000000..4703c8b --- /dev/null +++ b/app-pda/hptalx/files/hptalx-1.3.1a-preamble.patch @@ -0,0 +1,11 @@ +--- unpatched/preamble.sgml.in 2008-03-08 13:14:17.000000000 -0800 ++++ doc/preamble.sgml.in 2008-03-08 13:22:18.000000000 -0800 +@@ -18,7 +18,7 @@ + <simpara>Icons <trademark class="copyright">Copyright</trademark> 2000 Hewlett + Packard and Jean-Pierre Bergamin</simpara> + +-<para>This is &hpt;, a HP Calculator<->PC communications program for Linux, initially written by Bruno Barberi Gnecco, extended by Rafael Ostertag and released under the GNU Public License; see the <filename>COPYING<filename> file for further information. Use it at your own risk; the authors are not responsible for any damage from its use or misuse. ++<para>This is &hpt;, a HP Calculator<->PC communications program for Linux, initially written by Bruno Barberi Gnecco, extended by Rafael Ostertag and released under the GNU Public License; see the <filename>COPYING</filename> file for further information. Use it at your own risk; the authors are not responsible for any damage from its use or misuse. + </para> + + <para>You can get the latest version of &hpt; at <ulink diff --git a/app-pda/hptalx/hptalx-1.3.1a.ebuild b/app-pda/hptalx/hptalx-1.3.1a.ebuild new file mode 100644 index 0000000..8f4902c --- /dev/null +++ b/app-pda/hptalx/hptalx-1.3.1a.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils linux-info + +DESCRIPTION="A communications program for HP-48 and 49 series calculators." +HOMEPAGE="http://hptalx.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=app-misc/ckermit-8.0 + >=dev-libs/glib-2.4 + >=dev-libs/libxml2-2.5 + >=x11-libs/gtk+-2.4" +DEPEND="${RDEPEND} + app-text/docbook-sgml-dtd:4.5" + +CONFIG_CHECK="~USB_SERIAL_HP4X" +ERROR_USB_SERIAL_HP4X=" + You must enable the kernel's HP4X USB driver to use hptalx with HP-49g+ or later calculators. + + (Device Drivers -> USB support -> USB Serial Converter support -> USB HP4x Calculators support) +" + +src_prepare() { + epatch "${FILESDIR}/${P}-preamble.patch" + epatch "${FILESDIR}/${P}-hptalx.patch" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS BUGS ChangeLog NEWS NOTE README README.hp49gplus ToDo + mv "${D}"usr/share/doc/${PN}/* "${D}"usr/share/doc/${PF}/ + rm -r "${D}"usr/share/doc/${PN} +} + +pkg_postinst() { + echo + elog "To put the calculator in Server Mode:" + elog " HP 48: Press <Right Shift>, then <Right Arrow> on the calculator." + elog " HP 49/50: Press and hold <Right Shift> and press <Right Arrow>" + elog " on the calculator." + elog + elog "To use HPTalx with HP-49g+/50g Calculators, see" + elog "/usr/share/doc/${PF}/README.hp49gplus" + echo +} |