summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-01-05 11:12:57 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-01-05 11:12:57 +0000
commitc81cc2719cd6b90fbc7933ed7467cd21b1123214 (patch)
tree33b2a641f9356ea7ba8cd9a1a6d8ed21a2792b9c /app-misc/mmv
parentdelete (diff)
downloadgentoo-2-c81cc2719cd6b90fbc7933ed7467cd21b1123214.tar.gz
gentoo-2-c81cc2719cd6b90fbc7933ed7467cd21b1123214.tar.bz2
gentoo-2-c81cc2719cd6b90fbc7933ed7467cd21b1123214.zip
Added initial release
Diffstat (limited to 'app-misc/mmv')
-rw-r--r--app-misc/mmv/ChangeLog9
-rw-r--r--app-misc/mmv/files/digest-mmv-1.01b2
-rw-r--r--app-misc/mmv/mmv-1.01b.ebuild55
3 files changed, 66 insertions, 0 deletions
diff --git a/app-misc/mmv/ChangeLog b/app-misc/mmv/ChangeLog
new file mode 100644
index 000000000000..ffc6318fdf84
--- /dev/null
+++ b/app-misc/mmv/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-admin/gentoolkit
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mmv/ChangeLog,v 1.1 2003/01/05 11:12:57 mholzer Exp $
+
+*mmv-1.01b.ebuild (04 Jan 2002)
+
+ 04 Jan 2002; Martin Holzer <mholzer@gentoo.org mmv-1.01b.ebuild files/digest-mmv-1.01b.ebuild ChangeLog :
+ Initial Version submitted by tehirsch@web.de in #13254.
+
diff --git a/app-misc/mmv/files/digest-mmv-1.01b b/app-misc/mmv/files/digest-mmv-1.01b
new file mode 100644
index 000000000000..1b7164e8f858
--- /dev/null
+++ b/app-misc/mmv/files/digest-mmv-1.01b
@@ -0,0 +1,2 @@
+MD5 1b2135ab2f17bdfa9e08debbb3c46ad8 mmv_1.01b.orig.tar.gz 25656
+MD5 7b20b282f2de319ee4ac47af1f735d44 mmv_1.01b-12.diff.gz 4898
diff --git a/app-misc/mmv/mmv-1.01b.ebuild b/app-misc/mmv/mmv-1.01b.ebuild
new file mode 100644
index 000000000000..1e42bccc89ac
--- /dev/null
+++ b/app-misc/mmv/mmv-1.01b.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mmv/mmv-1.01b.ebuild,v 1.1 2003/01/05 11:12:57 mholzer Exp $
+
+# orig.tar.gz and debian-diff contains an underscore in the name
+# whereas the other files (including the unpacked sources)
+# contain a minus sign !!
+
+inherit eutils
+
+
+DESCRIPTION="Move/copy/append/link multiple files according to a set of wildcard patterns."
+HOMEPAGE=" http://packages.debian.org/unstable/utils/mmv.html"
+
+PATCH_DEB_VER="12"
+_P="${PN}_${PV}"
+
+SRC_URI="http://ftp.debian.org/debian/pool/main/m/mmv/${_P}.orig.tar.gz
+ http://ftp.debian.org/debian/pool/main/m/mmv/${_P}-${PATCH_DEB_VER}.diff.gz"
+
+LICENSE="freedist"
+SLOT="0"
+
+KEYWORDS="x86"
+
+S=${WORKDIR}/${P}.orig
+
+src_unpack() {
+ unpack ${_P}.orig.tar.gz
+ epatch ${DISTDIR}/${_P}-${PATCH_DEB_VER}.diff.gz
+}
+
+src_compile() {
+ mmv_CFLAGS=" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
+
+ emake CC="gcc " CFLAGS="${mmv_CFLAGS} ${CFLAGS} " LDFLAGS=" -s " || die
+}
+
+src_install() {
+
+ dobin mmv
+ dosym /usr/bin/mmv /usr/bin/mcp
+ dosym /usr/bin/mmv /usr/bin/mln
+ dosym /usr/bin/mmv /usr/bin/mad
+
+ doman mmv.1
+ dosym mmv.1.gz /usr/share/man/man1/mcp.1.gz
+ dosym mmv.1.gz /usr/share/man/man1/mln.1.gz
+ dosym mmv.1.gz /usr/share/man/man1/mad.1.gz
+
+ newdoc ANNOUNCE README
+ cd debian
+ dodoc changelog control copyright
+}
+