summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/ms-sys/Manifest1
-rw-r--r--sys-block/ms-sys/ms-sys-2.6.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-block/ms-sys/Manifest b/sys-block/ms-sys/Manifest
index a596a295bbe7..2a8bf79cf4c9 100644
--- a/sys-block/ms-sys/Manifest
+++ b/sys-block/ms-sys/Manifest
@@ -1 +1,2 @@
DIST ms-sys-2.5.3.tar.gz 76192 BLAKE2B c1046fa346088bb9abd39c8140479e11525fd1965fffebc0ca6ed8da354e354af6946f4bfd2a68ddca1f0b1bbb02ff94216d763a12f4ca43de0cd9ba1aa4d877 SHA512 18080bef903c68b6032e04124f3b3b9f0eb58517b338c6bd795846d786ee0af6b65760166b591090ad865a08a03346675f3c34ce59c64215059dac1439b558d8
+DIST ms-sys-2.6.0.tar.gz 75349 BLAKE2B b3c1cced0c22507c2e8c3a8d0ac9fcaf8fc6d31373b90a77f78a7a9ca7602e88f747e3fd436370ab0b2eb23b2ea964200651f68eccb9807beef1b3f696088739 SHA512 f49790813712b9fd9f63273a7571edbdacb855d93d26dfe1da94d35b656c0ec0574ec43b3cad0f363fa4ec18bd29b81a440d592dc8148b15b18bb8a28c35fbbe
diff --git a/sys-block/ms-sys/ms-sys-2.6.0.ebuild b/sys-block/ms-sys/ms-sys-2.6.0.ebuild
new file mode 100644
index 000000000000..c69a59ec8949
--- /dev/null
+++ b/sys-block/ms-sys/ms-sys-2.6.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A command-line program for writing Microsoft compatible boot records"
+HOMEPAGE="http://ms-sys.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="sys-devel/gettext"
+RDEPEND="virtual/libintl"
+
+src_prepare() {
+ default
+ # don't compress man-pages by default
+ sed '/gzip -f/d' -i Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ default
+}
+
+src_install() {
+ local nls=""
+ if ! has sv ${LINGUAS-sv} ; then
+ nls='NLS_FILES='
+ fi
+
+ emake DESTDIR="${D}" MANDIR="/usr/share/man" \
+ PREFIX="/usr" ${nls} install
+
+ dodoc CHANGELOG CONTRIBUTORS FAQ README TODO
+}