summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libticables2')
-rw-r--r--sci-libs/libticables2/Manifest2
-rw-r--r--sci-libs/libticables2/files/libticables2-1.2.0-locale.patch11
-rw-r--r--sci-libs/libticables2/libticables2-1.3.3-r1.ebuild49
-rw-r--r--sci-libs/libticables2/libticables2-1.3.4.ebuild49
-rw-r--r--sci-libs/libticables2/metadata.xml14
5 files changed, 125 insertions, 0 deletions
diff --git a/sci-libs/libticables2/Manifest b/sci-libs/libticables2/Manifest
new file mode 100644
index 000000000000..6960f89d469f
--- /dev/null
+++ b/sci-libs/libticables2/Manifest
@@ -0,0 +1,2 @@
+DIST libticables2-1.3.3.tar.bz2 495883 SHA256 e31ffc2324884aeec37b0cc220e62c78a44c43ab874a933939bfe80c4e84071e SHA512 19c9a6bb8319ccf9e9004e10c4addffbee605c3735e53e4a5628b360b0c2e8575076208d14d00d6304eb894d3c69aede6de00120cd26f8c543c6e6cc4adb21a9 WHIRLPOOL ca916a99942097518fa686b1c68d9260852fa5f88ed4b60649471590c94e84e60ffc2f5cd74c91ec1f11393a0e65a5675ad06ae4d0879c41124f307cb03bb11c
+DIST libticables2-1.3.4.tar.bz2 920163 SHA256 45cae91ad9ee1cc2ebc0f5865923ff77f1e0adf0793d3010eeb802efc140e5b0 SHA512 fbea9ed2041a04f79e02045d40e88a3ab20edc8d86ecef4ae6a181063f3609b8b2c3aeb2ce2f4508be56655accba60eab7379116ac341921f233f469eb99b461 WHIRLPOOL 1ce06ad05ffc9919dfc24a6f5ee1f31555d61b1693b994c7b2970d8a8ba551b0744c51d60d8d288c2df607b8961a8826543e2edac17090f692c4d36d7828b05d
diff --git a/sci-libs/libticables2/files/libticables2-1.2.0-locale.patch b/sci-libs/libticables2/files/libticables2-1.2.0-locale.patch
new file mode 100644
index 000000000000..4602dfdba3da
--- /dev/null
+++ b/sci-libs/libticables2/files/libticables2-1.2.0-locale.patch
@@ -0,0 +1,11 @@
+--- src/gettext.h~ 2007-02-23 16:05:21.000000000 +0000
++++ src/gettext.h 2009-02-03 12:41:31.584312058 +0000
+@@ -24,7 +24,7 @@
+
+ /* Get declarations of GNU message catalog functions. */
+ # include <libintl.h>
+-
++# include <locale.h>
+ #else
+
+ /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which
diff --git a/sci-libs/libticables2/libticables2-1.3.3-r1.ebuild b/sci-libs/libticables2/libticables2-1.3.3-r1.ebuild
new file mode 100644
index 000000000000..d4e86901c1b9
--- /dev/null
+++ b/sci-libs/libticables2/libticables2-1.3.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils multilib
+
+DESCRIPTION="Library to handle different link cables for TI calculators"
+HOMEPAGE="http://lpg.ticalc.org/prj_tilp/"
+SRC_URI="mirror://sourceforge/tilp/tilp2-linux/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc nls static-libs usb"
+
+RDEPEND="
+ dev-libs/glib:2
+ usb? ( virtual/libusb:1 )
+ nls? ( virtual/libintl )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt )
+
+src_configure() {
+ # --disable-libusb $(use_enable usb libusb10) would enable virtual/libusb:1
+ econf \
+ --disable-rpath \
+ $(use_enable debug logging) \
+ $(use_enable nls) \
+ $(use_enable static-libs static) \
+ $(use_enable usb libusb) \
+ $(use_enable usb libusb10)
+}
+
+src_install() {
+ default
+ use doc && dohtml docs/html/*
+ use static-libs || rm -f "${ED}"/usr/$(get_libdir)/${PN}.la
+}
+
+pkg_postinst() {
+ elog "Please read README in /usr/share/doc/${PF}"
+ elog "if you encounter any problem with a link cable"
+}
diff --git a/sci-libs/libticables2/libticables2-1.3.4.ebuild b/sci-libs/libticables2/libticables2-1.3.4.ebuild
new file mode 100644
index 000000000000..f72076626480
--- /dev/null
+++ b/sci-libs/libticables2/libticables2-1.3.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils
+
+DESCRIPTION="Library to handle different link cables for TI calculators"
+HOMEPAGE="http://lpg.ticalc.org/prj_tilp/"
+SRC_URI="mirror://sourceforge/tilp/tilp2-linux/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc nls static-libs usb"
+
+RDEPEND="
+ dev-libs/glib:2
+ usb? ( virtual/libusb:1 )
+ nls? ( virtual/libintl )"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt )
+
+src_configure() {
+ # --disable-libusb $(use_enable usb libusb10) would enable virtual/libusb:1
+ local myeconfargs=(
+ --disable-rpath
+ $(use_enable debug logging)
+ $(use_enable nls)
+ $(use_enable usb libusb)
+ $(use_enable usb libusb10)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ use doc && dohtml docs/html/*
+}
+
+pkg_postinst() {
+ elog "Please read README in /usr/share/doc/${PF}"
+ elog "if you encounter any problem with a link cable"
+}
diff --git a/sci-libs/libticables2/metadata.xml b/sci-libs/libticables2/metadata.xml
new file mode 100644
index 000000000000..579feb0d08b3
--- /dev/null
+++ b/sci-libs/libticables2/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ This library provides functions to use Texas Instruments link cables
+ for TI calculators. It currently supports all cables on i386,
+ including the USB one. Supported cables may vary depending on your
+ architecture.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">tilp</remote-id>
+ </upstream>
+</pkgmetadata>