summaryrefslogtreecommitdiff
path: root/sys-block/mtx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
commitbd4aeefe33e63f613512604e47bfca7b2187697d (patch)
treeadb35b5a9a00ee7ea591ab0c987f70167c23b597 /sys-block/mtx
parent48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff)
gentoo resync : 03.11.2019
Diffstat (limited to 'sys-block/mtx')
-rw-r--r--sys-block/mtx/Manifest3
-rw-r--r--sys-block/mtx/files/mtx-1.3.12-fix-buildsystem.patch20
-rw-r--r--sys-block/mtx/mtx-1.3.12.ebuild14
3 files changed, 28 insertions, 9 deletions
diff --git a/sys-block/mtx/Manifest b/sys-block/mtx/Manifest
index 42b34cea8616..3d9e16ed1ee3 100644
--- a/sys-block/mtx/Manifest
+++ b/sys-block/mtx/Manifest
@@ -1,3 +1,4 @@
+AUX mtx-1.3.12-fix-buildsystem.patch 574 BLAKE2B 13a6b5005ee59b2ac0dd0e6b7f6e3fd3569e7d364ab83e0b861b41f7c68583220ea269d01667504f02cbd0cb3ebd5dc8eb6ae9296ea8e45668f8f8ca65d4a685 SHA512 61a7e259ea97fa24399db95f503dabde9cfa5ecbdc479ab681bd2c64a94a18bbed6368b536f5388c3d00d68043413962f268faa2893006f7481ee0e537a39e8b
DIST mtx-1.3.12.tar.gz 235214 BLAKE2B af5d0dd35ecf4fca75af700c4eddd48775187c6015c00048204774a87d2905a016a8c36fcfce07535d093a3f16b1a31b9e455e3e3e605cc0a7db49bd76da088d SHA512 d54c360608a2c25bd4d31af3e659de0557ed355fbe45d2dbf1341cfc7e468515eb07eb89200b77ee1fe2618139295ba3c3f4340cc43a7c506ced26aab2652028
-EBUILD mtx-1.3.12.ebuild 477 BLAKE2B 6575f347839d4da3ce922940bf479fe4083717cc737b7344fb56118560365a7dd3ef9a7ef2c0d72d59d91277f3ea18190a5953241998f2e2660070b4cc636085 SHA512 43ba1155d7707586727b02493e1f5c1312330bd8bfa099825916b970d1bd11c95bd6f54477eb8f0f2a86379a044c09429bcc38a80c35e71bfdf5161111517641
+EBUILD mtx-1.3.12.ebuild 492 BLAKE2B 07c17df7c02ef19dfe8587af46d90ad552b2dfaa68ae630721cd71b0db96e764be402ef7f28dcfc3da946586c9172edadb83b99fa5171c295436dba9dc2670f8 SHA512 8bb3489238fbb66157c567a8e2d7c7a22de1306296f865c1d67c619a815500e0508467c2d5bbd3fe645db9046e0a0103efc636deb50fb1bf47a1f8c108eed246
MISC metadata.xml 323 BLAKE2B d0c394421bd8dca2c1595f979dae3db3dfd8f08d7471cba729a9e7dc6503cc3f8053d2c6fde8293c2ab6c616285d753a772fe5fe9ecd8a2df8659f589468c25b SHA512 2988c2031af8998f902e82b0e5a703a71030d079dfa28f6f3c433e7fa6d8797b1bf31c8bdfcb7057a78f33eaaa390f0bc9b60d1c5c8d675ac3d21af8c880425f
diff --git a/sys-block/mtx/files/mtx-1.3.12-fix-buildsystem.patch b/sys-block/mtx/files/mtx-1.3.12-fix-buildsystem.patch
new file mode 100644
index 000000000000..6627bfac0504
--- /dev/null
+++ b/sys-block/mtx/files/mtx-1.3.12-fix-buildsystem.patch
@@ -0,0 +1,20 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -109,13 +109,13 @@
+ dbgs: $(DBGS)
+
+ install: $(BINS)
+- $(INSTALL_DIR) $(sbindir)
++ $(INSTALL_DIR) $(DESTDIR)$(sbindir)
+ for file in $(BINS); do \
+- $(INSTALL_BIN) "$$file" $(sbindir) ; \
++ $(INSTALL_BIN) "$$file" $(DESTDIR)$(sbindir) ; \
+ done
+- $(INSTALL_DIR) $(mandir) $(mandir)/man1
++ $(INSTALL_DIR) $(mandir) $(DESTDIR)$(mandir)/man1
+ for file in mtx.1 tapeinfo.1 scsitape.1 scsieject.1 loaderinfo.1 ; do \
+- $(INSTALL_DOC) "$$file" $(mandir)/man1 ; \
++ $(INSTALL_DOC) "$$file" $(DESTDIR)$(mandir)/man1 ; \
+ done
+
+ clean:
diff --git a/sys-block/mtx/mtx-1.3.12.ebuild b/sys-block/mtx/mtx-1.3.12.ebuild
index 0053c550bc54..593c08791e97 100644
--- a/sys-block/mtx/mtx-1.3.12.ebuild
+++ b/sys-block/mtx/mtx-1.3.12.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
DESCRIPTION="Utilities for controlling SCSI media changers and tape drives"
HOMEPAGE="https://sourceforge.net/projects/mtx/"
@@ -10,10 +10,8 @@ SRC_URI="mirror://sourceforge/mtx/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
-IUSE=""
-src_install () {
- einstall || die
- dodoc CHANGES COMPATABILITY FAQ README TODO
- dohtml mtxl.README.html
-}
+PATCHES=( "${FILESDIR}"/${P}-fix-buildsystem.patch )
+
+DOCS=( CHANGES COMPATABILITY FAQ README TODO )
+HTML_DOCS=( mtxl.README.html )