diff --git a/app-arch/mt-st/Manifest b/app-arch/mt-st/Manifest index de879423f30ce..62a00c9bc9420 100644 --- a/app-arch/mt-st/Manifest +++ b/app-arch/mt-st/Manifest @@ -1 +1,2 @@ DIST mt-st-1.7.tar.gz 39932 BLAKE2B 4083160035972cef89ba18a990c274730241819904cd08f88cbca7fd777a43d9d5fc551fb6de2b5b935818bf32d67eb00dd0002e3a67a82b28a79c17d2c7d369 SHA512 a274d098d8d028d0b32f38104645b628fad549708cc8ff87eb4155ed6270549bdf162a9ccdad468696f35ebe3f86b8923490bb969e7c22b4f827d65b87c5c3cb +DIST mt-st-1.8.tar.gz 40890 BLAKE2B 1269281bac7ef4bdc55203d70cfb36e4a2d5a519b7bc7f97e901f5e207aa64418f51ae964d825b89b42e084f599965eb198cc8ae4e015d52859dfde961b743f6 SHA512 b23470de67e498cbfac093e1f0aaf91a7a2a898087403c8c83e18b430d54555db7b4fb42220cb3c78aacc62b9c29e004e19efaab4de0bc0827c62461f34791b4 diff --git a/app-arch/mt-st/mt-st-1.8.ebuild b/app-arch/mt-st/mt-st-1.8.ebuild new file mode 100644 index 0000000000000..a1526dbe4f5a7 --- /dev/null +++ b/app-arch/mt-st/mt-st-1.8.ebuild @@ -0,0 +1,31 @@ +# 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 +}