From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-misc/mmv/Manifest | 6 +++++ app-misc/mmv/metadata.xml | 8 +++++++ app-misc/mmv/mmv-1.01b_p18.ebuild | 49 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 app-misc/mmv/Manifest create mode 100644 app-misc/mmv/metadata.xml create mode 100644 app-misc/mmv/mmv-1.01b_p18.ebuild (limited to 'app-misc/mmv') diff --git a/app-misc/mmv/Manifest b/app-misc/mmv/Manifest new file mode 100644 index 000000000000..a7e24506a7da --- /dev/null +++ b/app-misc/mmv/Manifest @@ -0,0 +1,6 @@ +DIST mmv_1.01b-18.debian.tar.gz 13463 SHA256 4af5c83cacb27c7720bf65cac9a4f6c1fe698474a716e2df0fbad9181e6844e7 SHA512 3543aff53c67cab00689d4c8b778447c976a7860a569bd51f74534bec8bd3b67b9e12743bd03bc6fda930748abddd12e16f1965686cbce04bd48bf191fc4127b WHIRLPOOL 57dd2ebb1d075f9479d0466cc39f4cf3ebe3e8457b96a56a0f5d1b63c6ada01ec281fcf5e79220e07256aa1edfb046d8ddf75df8ab6c1ac25ff67074c0760ed2 +DIST mmv_1.01b.orig.tar.gz 25656 SHA256 0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef SHA512 4bf4e096b930bdde225ba5de761e968af3aed33dc13194b1a1a79078cd27e158b04aae131b5167cf5f844e35355d67359443cd598db22da15a5af06752438917 WHIRLPOOL 318484c12416174535ba6e77929798418943ae521e339a7f68b1b7a488b4058cbe88de019e07b705879597ef04d6c325c15d2869b224827dca6d9519c8772aa5 +EBUILD mmv-1.01b_p18.ebuild 1269 SHA256 059f80c9cc71bf4d097fdc0d524bb7157704f7c0c6d9a0f3a8ecd466e216eb0e SHA512 11931b007cdfc09e01a5ca4478564c36ed2b73e83c267e29db2d788cefc63fd27e8f74dedf2d36aac882791a02b914533bde28748a7d58e7c7ce089912ca4625 WHIRLPOOL 21a8086406c34e23f8b83971a62075671f43ac7a95fe81dccfbe49e4e365552a4ca8b34b7632a7b24d8055e1d3a6c0798b42a081116a28c2dd5ff3a09e6ccf05 +MISC ChangeLog 2897 SHA256 5ddff676feb5f7853fe4631cd8ebf941ef6093dde56f8ac8f33f7fbfd287028a SHA512 11d0d5dd86b199305656ff4f0c8823c698184588df0a2a2e89302459eae2b826c6e54e8c433b4032362c634c953ab29c655e0928983cdd4ddf7d9496dba179b3 WHIRLPOOL 2fb44c5b01117244e1ddc2bbbd8ec2e37e544651bafa7cb0de7e3df23c5d702f6413892f712e25de5a1fabdeb20c214e9312482724220855104c08842c45d0d3 +MISC ChangeLog-2015 3438 SHA256 4e5d60ad8077ea228e6c5cf5f5ffe795def262ab755ced0ec0fe81a01c7d78c7 SHA512 3c919e503e32fd099a5ed18c02f71cdf1acf1f0613bb1df947c6005682228702bfd246fcd2ab1c1dca57e2fcc02ccac8e749e97589a0986ac48c57e2ba5eb8b8 WHIRLPOOL 3fac9a08a1904242acef7be6a980a3cb7ed5b3f632f640a56c3b90366c8817e30351fbc3954cfa2631fb01abc6d389b63f450fa63a5e8acb1addcc7d2855345f +MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519 diff --git a/app-misc/mmv/metadata.xml b/app-misc/mmv/metadata.xml new file mode 100644 index 000000000000..3cf14bf74636 --- /dev/null +++ b/app-misc/mmv/metadata.xml @@ -0,0 +1,8 @@ + + + + + shell-tools@gentoo.org + Gentoo Shell Tools Project + + diff --git a/app-misc/mmv/mmv-1.01b_p18.ebuild b/app-misc/mmv/mmv-1.01b_p18.ebuild new file mode 100644 index 000000000000..b494b21028bb --- /dev/null +++ b/app-misc/mmv/mmv-1.01b_p18.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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="http://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 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +S="${WORKDIR}"/${PN}-${MY_VER}.orig + +src_prepare() { + 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 mmv + dosym mmv /usr/bin/mcp + dosym mmv /usr/bin/mln + dosym mmv /usr/bin/mad + + doman mmv.1 + newman mmv.1 mcp.1 + newman mmv.1 mln.1 + newman mmv.1 mad.1 + + dodoc ANNOUNCE "${WORKDIR}"/debian/{changelog,control} +} -- cgit v1.2.3