mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 22:53:31 +02:00
31 lines
661 B
Bash
31 lines
661 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit bash-completion-r1 toolchain-funcs
|
|
|
|
DESCRIPTION="Control magnetic tape drive operation"
|
|
HOMEPAGE="https://github.com/iustin/mt-st"
|
|
SRC_URI="https://github.com/iustin/mt-st/releases/download/v${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
BDEPEND="
|
|
test? ( dev-util/shelltestrunner )
|
|
"
|
|
|
|
src_configure() {
|
|
tc-export CC
|
|
}
|
|
|
|
src_install() {
|
|
dosbin mt stinit
|
|
doman mt.1 stinit.8
|
|
dodoc README* stinit.def.examples
|
|
newbashcomp mt-st.bash_completion mt
|
|
}
|