summaryrefslogtreecommitdiff
path: root/app-misc/mmv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-16 12:59:29 +0000
commit79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch)
treeade7cb031f363fad64c77139dea7aa3d81908537 /app-misc/mmv
parent6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff)
gentoo resync : 16.02.1018
Diffstat (limited to 'app-misc/mmv')
-rw-r--r--app-misc/mmv/Manifest1
-rw-r--r--app-misc/mmv/mmv-1.01b_p18-r1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-misc/mmv/Manifest b/app-misc/mmv/Manifest
index d1fb0d148841..ee8c96fa5840 100644
--- a/app-misc/mmv/Manifest
+++ b/app-misc/mmv/Manifest
@@ -1,4 +1,5 @@
DIST mmv_1.01b-18.debian.tar.gz 13463 BLAKE2B db67247bddd38580401d8b1a18aa9ce82af42a994bfe60141066aa08e19a01f35903cc1d8184cb4271ebe2a4a187607a7c5a6a750c121caafdf71fdc0ccb8896 SHA512 3543aff53c67cab00689d4c8b778447c976a7860a569bd51f74534bec8bd3b67b9e12743bd03bc6fda930748abddd12e16f1965686cbce04bd48bf191fc4127b
DIST mmv_1.01b.orig.tar.gz 25656 BLAKE2B 4e3c7c27831fb5aeeb09461116330a993998da510b32a7ba3b1151c0d14a336eab7cf37bc3ac91720f38fb41258a60488e5d066b152d0c717f5413f8514d9026 SHA512 4bf4e096b930bdde225ba5de761e968af3aed33dc13194b1a1a79078cd27e158b04aae131b5167cf5f844e35355d67359443cd598db22da15a5af06752438917
+EBUILD mmv-1.01b_p18-r1.ebuild 1310 BLAKE2B d55e197178b1e783309eacaed5ecb19413748ac79d797cee91e6ab3166e61b44f07bdcc9a0d61873475b9e15fe5036b14c22a050b1ef0b2b8246083a95093604 SHA512 bab49c34f7c6371bdd0a9949694896f52f1f71f54fc6ba5e93fed1d16246523f743f3a00dd47a667a83374c5b19a3a7128a84abbfeb79fa0d4dab4a977ff83f1
EBUILD mmv-1.01b_p18.ebuild 1269 BLAKE2B 2c4faa9de91736679bcd6279ae8e1364733ba8da187ac5a3c16c622aebb7f3bdc91dcada98d6eaffc3aace7873f9b838b640ed39fb10a24ad60f7fe9e367da88 SHA512 11931b007cdfc09e01a5ca4478564c36ed2b73e83c267e29db2d788cefc63fd27e8f74dedf2d36aac882791a02b914533bde28748a7d58e7c7ce089912ca4625
MISC metadata.xml 265 BLAKE2B 75452ad720a31a08fc0dcd02eec704c18b11bc0660686f9a320b85fc879f55a564ce9c3b6a8c710781b74c5e8eb3d0544c02a042fb35a0b62a5e1491f675296a SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25
diff --git a/app-misc/mmv/mmv-1.01b_p18-r1.ebuild b/app-misc/mmv/mmv-1.01b_p18-r1.ebuild
new file mode 100644
index 000000000000..44674eccd652
--- /dev/null
+++ b/app-misc/mmv/mmv-1.01b_p18-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DEB_PATCH_VER=${PV#*_p}
+MY_VER=${PV%_p*}
+
+DESCRIPTION="Move/copy/append/link multiple files according to a set of wildcard patterns"
+HOMEPAGE="https://packages.debian.org/unstable/utils/mmv"
+SRC_URI="
+ mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}.orig.tar.gz
+ mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}-${DEB_PATCH_VER}.debian.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+S="${WORKDIR}/${PN}-${MY_VER}.orig"
+
+src_prepare() {
+ default
+ epatch "${WORKDIR}"/debian/patches/*.diff
+}
+
+src_compile() {
+ # i wonder how this works on other platforms if CFLAGS from makefile are
+ # overridden, see bug #218082
+ [[ ${CHOST} == *-interix* ]] && append-flags -DIS_SYSV -DHAS_RENAME -DHAS_DIRENT
+ [[ ${CHOST} == *-interix* ]] || append-lfs-flags
+
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin "${PN}"
+ dosym "${PN}" /usr/bin/mcp
+ dosym "${PN}" /usr/bin/mln
+ dosym "${PN}" /usr/bin/mad
+
+ doman "${PN}.1"
+ newman "${PN}.1" mcp.1
+ newman "${PN}.1" mln.1
+ newman "${PN}.1" mad.1
+
+ dodoc ANNOUNCE "${WORKDIR}"/debian/{changelog,control}
+}