summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-02-11 09:40:42 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-02-11 09:40:42 +0000
commit6a0c35dbf9e741fb440c00ce210ab7b8fb190b60 (patch)
tree70259c13b5ce3a8022a6449cc6548fe13eaf6685 /net-mail/metamail/metamail-2.7.45.ebuild
parentexcluding prelink and elfutils until gcc3 is usable on this profile (diff)
downloadgentoo-2-6a0c35dbf9e741fb440c00ce210ab7b8fb190b60.tar.gz
gentoo-2-6a0c35dbf9e741fb440c00ce210ab7b8fb190b60.tar.bz2
gentoo-2-6a0c35dbf9e741fb440c00ce210ab7b8fb190b60.zip
cleanups
Diffstat (limited to 'net-mail/metamail/metamail-2.7.45.ebuild')
-rw-r--r--net-mail/metamail/metamail-2.7.45.ebuild61
1 files changed, 25 insertions, 36 deletions
diff --git a/net-mail/metamail/metamail-2.7.45.ebuild b/net-mail/metamail/metamail-2.7.45.ebuild
index cd854d36c4d7..a24202bc2361 100644
--- a/net-mail/metamail/metamail-2.7.45.ebuild
+++ b/net-mail/metamail/metamail-2.7.45.ebuild
@@ -1,50 +1,39 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.45.ebuild,v 1.2 2002/10/04 06:08:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.45.ebuild,v 1.3 2003/02/11 09:40:42 seemant Exp $
-DESCRIPTION="Metamail (with Debian patches) - Generic MIME package"
-HOMEPAGE="ftp://thumper.bellcore.com/pub/nsb/"
+inherit eutils
+
+IUSE=""
S=${WORKDIR}/mm2.7/src
+DESCRIPTION="Metamail (with Debian patches) - Generic MIME package"
+HOMEPAGE="ftp://thumper.bellcore.com/pub/nsb/"
SRC_URI="ftp://thumper.bellcore.com/pub/nsb/mm2.7.tar.Z
- http://ftp.debian.org/debian/pool/main/m/metamail/metamail_2.7-45.diff.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="*"
+ http://ftp.debian.org/debian/pool/main/m/metamail/${PN}_2.7-45.diff.gz"
-RDEPEND="virtual/glibc
- sys-libs/ncurses
- sys-apps/sharutils
- net-mail/mailbase"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
-DEPEND="virtual/glibc
- sys-libs/ncurses
- sys-devel/automake"
+DEPEND="sys-libs/ncurses
+ sys-apps/sharutils
+ net-mail/mailbase"
src_unpack() {
-
- unpack mm2.7.tar.Z || die
- cd ${S}
- cat ${DISTDIR}/metamail_2.7-45.diff.gz | gzip -d | patch -p1 || die
-
-}
-
-src_compile() {
-
- /bin/sh ./configure --prefix=/usr || die "configure problem"
- emake || die "compile problem"
-
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/metamail_2.7-45.diff
+ chmod +x ${S}/configure
}
src_install () {
-
- make install DESTDIR=${D}
- dodoc COPYING CREDITS README
- rm man/mmencode.1
- doman man/*
- doman debian/mimencode.1 debian/mimeit.1
- insinto /etc
- doins ${FILESDIR}/mime.types
-
+ make DESTDIR=${D} install || die
+ dodoc COPYING CREDITS README
+ rm man/mmencode.1
+ doman man/*
+ doman debian/mimencode.1 debian/mimeit.1
+ insinto /etc
+ doins ${FILESDIR}/mime.types
}