summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/convmv/Manifest1
-rw-r--r--app-text/convmv/convmv-2.01.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-text/convmv/Manifest b/app-text/convmv/Manifest
index 5132591157ac..d14a2c43c1bc 100644
--- a/app-text/convmv/Manifest
+++ b/app-text/convmv/Manifest
@@ -1 +1,2 @@
DIST convmv-2.0.tar.gz 29534 SHA256 170cf675be1fca77868ff472e9340ca828b1463865a63d4f4b7b3bf4053db93f SHA512 9f452551ab4ea7a45ec4e5d4e4d3c4fdb60cae49f048953d16df9ecd9ee3271c2d6748704f010af6ef312d7ce2079ae9c502e04d936419e29257f68596fc4f58 WHIRLPOOL c907bf99805e2afa7590043a291c7eaa19b681fecf9eb38314d41952edcea381f7e8bf1442226bd9c72122c3b0840e4c376f3947c4b2f65495287155a1353026
+DIST convmv-2.01.tar.gz 29375 SHA256 782ac06982aeaf8ff3ab8fc42cb49cb8bc562dbd1e97ef7e17bedcf3ecf2483a SHA512 e82957bcc1462b17c5f667e85caf0d2e8c407fb48afc6faa957f45626cbfa58c141de05f43cc810e8d4abbadc4cc01bf87ee64c157fece20fafed07ad04cc48c WHIRLPOOL fc7f6f6b93c872d1fce69372340b97165ec0138fe02952d7737bea582e6ecdef89cc766e20b7fbf2d75925ce5bf6759d2accf8f276f4feaf02383dfcb33c1bb6
diff --git a/app-text/convmv/convmv-2.01.ebuild b/app-text/convmv/convmv-2.01.ebuild
new file mode 100644
index 000000000000..6fad4bcbd995
--- /dev/null
+++ b/app-text/convmv/convmv-2.01.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="convert filenames to utf8 or any other charset"
+HOMEPAGE="http://j3e.de/linux/convmv"
+SRC_URI="http://j3e.de/linux/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e "1s|#!/usr|#!${EPREFIX}/usr|" convmv || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ dodoc CREDITS Changes TODO VERSION
+}
+
+src_test() {
+ unpack ./testsuite.tar
+
+ cd "${S}"/suite
+ ./dotests.sh || die "Tests failed"
+}