summaryrefslogtreecommitdiff
path: root/app-misc/tprint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/tprint
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/tprint')
-rw-r--r--app-misc/tprint/Manifest3
-rw-r--r--app-misc/tprint/metadata.xml9
-rw-r--r--app-misc/tprint/tprint-1.1.0-r1.ebuild34
3 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/tprint/Manifest b/app-misc/tprint/Manifest
new file mode 100644
index 000000000000..685f5a8ce6b4
--- /dev/null
+++ b/app-misc/tprint/Manifest
@@ -0,0 +1,3 @@
+DIST tprint-1.1.0.tar.gz 14089 BLAKE2B 5cba4162ec111c9eb41b883e9e1582b1885117000189e63a1c3d529df695fade156228318d7b86a5c2eb69ecb8d9ec70ad40a4deb624b5474a052f3d0557dd15 SHA512 828135ba52a163b00257e243e683f0f01b3a47b161785c70aa2b43f227859a6a4e629687d07190c42941ab03012d6bb1eddeb3767f177af6302a873cb7713831
+EBUILD tprint-1.1.0-r1.ebuild 611 BLAKE2B 8e5cb9d3446a68e9f3e097b816c45b7042a0292e7d4465ff49363643dda354d8d411f887a852687d705a04fc16b777293b4469848159ba47c9adcbf18bbd22aa SHA512 afb0cce8179978308ef74572081f07238c11797d2bc9db55ef858a9507417a6eb167224b8052611358032f252d284332c7dda8e9b77c21fd6bd06ab2f2dc187c
+MISC metadata.xml 421 BLAKE2B 73570ad9de56bc18aacba474b07f49edd35d562f1d5220318b0200d14ccc0c5a2ac12f6a9b5c0d7c51ccaba31e53671838c924dbda322db376cd6dc0bb1d755c SHA512 2cd028ad4b59baccac477041c36891bc3f3db16c76aae0495864ae29e31f61f53a280eaff170c9ba0acade5beaf1a632524a770b08fb11ebbf8ec90dc2cc09d4
diff --git a/app-misc/tprint/metadata.xml b/app-misc/tprint/metadata.xml
new file mode 100644
index 000000000000..05878c967542
--- /dev/null
+++ b/app-misc/tprint/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription>The Transparent Print utility program for Linux. Provides an easy way to transparently print to serial terminals that have printers attached.</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">tprint</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/tprint/tprint-1.1.0-r1.ebuild b/app-misc/tprint/tprint-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..b473dcc73077
--- /dev/null
+++ b/app-misc/tprint/tprint-1.1.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs
+
+DESCRIPTION="Transparent Print Utility for terminals"
+HOMEPAGE="https://sourceforge.net/projects/tprint/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's:cc:$(CC):g' \
+ -e 's:-g -O2:$(CFLAGS) $(LDFLAGS):g' \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ insinto /etc/tprint
+ doins tprint.conf
+ dobin tprint
+
+ dodoc INSTALL README
+}