app-arch/mt-st: Add live ebuild.
authorJeroen Roovers <jer@gentoo.org>
Thu, 23 Mar 2017 06:50:45 +0000 (07:50 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 23 Mar 2017 06:50:45 +0000 (07:50 +0100)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-arch/mt-st/mt-st-9999.ebuild [new file with mode: 0644]

diff --git a/app-arch/mt-st/mt-st-9999.ebuild b/app-arch/mt-st/mt-st-9999.ebuild
new file mode 100644 (file)
index 0000000..7433526
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit eutils git-r3 toolchain-funcs
+
+DESCRIPTION="control magnetic tape drive operation"
+HOMEPAGE="https://github.com/iustin/mt-st"
+EGIT_REPO_URI="${HOMEPAGE}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+
+src_compile() {
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}"
+}
+
+src_install() {
+       dosbin mt stinit
+       doman mt.1 stinit.8
+       dodoc README* stinit.def.examples
+}