summaryrefslogtreecommitdiff
path: root/dev-util/amtterm
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 /dev-util/amtterm
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/amtterm')
-rw-r--r--dev-util/amtterm/Manifest3
-rw-r--r--dev-util/amtterm/amtterm-1.6.ebuild46
-rw-r--r--dev-util/amtterm/metadata.xml8
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-util/amtterm/Manifest b/dev-util/amtterm/Manifest
new file mode 100644
index 000000000000..480a4d9633f1
--- /dev/null
+++ b/dev-util/amtterm/Manifest
@@ -0,0 +1,3 @@
+DIST amtterm-1.6.tar.gz 40804 BLAKE2B a682bb6646e7ed57e3ee8f17f25bdd60fed37d614eb3e66f6b05fa4062ef99237c24d69e4795e7a9d8b83579728c8f8423389bf7e042d981b3e84a0037e56b0d SHA512 b10777727cf7f931e4b04fff7c621ea6e94989738833fe4f830bd795c8be3b0e983100b34a2ea5feb48221f022b3498a819c9f4fba9c7722226d56d374a1d986
+EBUILD amtterm-1.6.ebuild 1007 BLAKE2B a6e31ec74289ee24c57c5bd328874a28f89ffa68cecd8812a8005e923fda2819f2b649296c5aa0d5b861b4c7782d50333c26e404e9ea137978626b5cc125895d SHA512 1404756ba763dcd93dcbee6de2bee4413940fc304f4ae88af4829a88f6e1ed6451e1ec1f25adf6cbcaa00d956c1169650f2ccf8834f7bf1d6576d259eefd7e20
+MISC metadata.xml 247 BLAKE2B 5a20af3c9732ef7dba68131a08988652f5c93a6d186a82c4deb1bb9c06dc3ae73152a0d241cc346637f7b11caf4676da43301ba596c67b66669535e71db0b03e SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7
diff --git a/dev-util/amtterm/amtterm-1.6.ebuild b/dev-util/amtterm/amtterm-1.6.ebuild
new file mode 100644
index 000000000000..d9222f8bf2e6
--- /dev/null
+++ b/dev-util/amtterm/amtterm-1.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A nice tool to manage amt-enabled machines"
+HOMEPAGE="https://www.kraxel.org/blog/linux/amtterm/"
+SRC_URI="https://www.kraxel.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="gtk"
+
+DEPEND="gtk? (
+ x11-libs/gtk+:3
+ x11-libs/vte:2.91 )"
+RDEPEND="${DEPEND}
+ dev-perl/SOAP-Lite"
+
+src_prepare() {
+ sed -i -e 's|\(INSTALL_BINARY := \$(INSTALL)\) \$(STRIP)|\1|' mk/Variables.mk || die
+}
+
+src_configure() {
+ echo "LIB := $(get_libdir)" > Make.config || die
+
+ # enable gamt
+ echo "HAVE_GTK := $(usex gtk)" >> Make.config || die
+ echo "HAVE_VTE := $(usex gtk)" >> Make.config || die
+}
+
+src_compile() {
+ prefix="/usr" emake || die
+}
+
+src_install() {
+ prefix="/usr" emake DESTDIR=${ED} install || die
+
+ if ! use gtk; then
+ rm -rf "${D}"/usr/share/applications || die
+ rm -rf "${D}"/usr/share/man/man1/gamt* || die
+ fi
+}
diff --git a/dev-util/amtterm/metadata.xml b/dev-util/amtterm/metadata.xml
new file mode 100644
index 000000000000..40aa45df2b01
--- /dev/null
+++ b/dev-util/amtterm/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>