make this ebuild suck a lot less
authorMike Frysinger <vapier@gentoo.org>
Sat, 7 Apr 2007 10:55:20 +0000 (10:55 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 7 Apr 2007 10:55:20 +0000 (10:55 +0000)
Package-Manager: portage-2.1.2.3

mail-filter/normalizemime/Manifest
mail-filter/normalizemime/normalizemime-1.15.ebuild

index 1b5401721b56a557ffe388dfd0288ac67a875503..55f41a6fe6442ce24701e9a058c4a81297e991ee 100644 (file)
@@ -1,8 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST normalizemime.cc 41450 RMD160 260d657f4887255bff55a652da15eb1dec61e398 SHA1 7f6811fb66c8a013eb4d5692860120203f43316c SHA256 dffdf9299c2ba3cc4908e7a3b722195490edd559d69137685a26ffa2a6f2db50
-EBUILD normalizemime-1.15.ebuild 713 RMD160 f9418bed51cc4b6c2d90b397c23b88e10a3b32f1 SHA1 5cd2a17cbb97d3fb1c798ada04eaca067bd73de7 SHA256 190916daf9f6831710e9bf29609b51c013b9ec3b1c7d01cf19fd022866ddffca
-MD5 63bc316c9ac0da7a0df84855aaf73cc1 normalizemime-1.15.ebuild 713
-RMD160 f9418bed51cc4b6c2d90b397c23b88e10a3b32f1 normalizemime-1.15.ebuild 713
-SHA256 190916daf9f6831710e9bf29609b51c013b9ec3b1c7d01cf19fd022866ddffca normalizemime-1.15.ebuild 713
+EBUILD normalizemime-1.15.ebuild 711 RMD160 827ba1213b75e083f011def4a4a62d6d8c9c16b5 SHA1 9e1d6c6c0162691cd70f226ae6097f2b467f990e SHA256 7f2485fe450d168b53beaa50f2b193c5c0e15c62f499cbec6efddc7ad2a31bc5
+MD5 67823d1874c903e84f093724bb204d48 normalizemime-1.15.ebuild 711
+RMD160 827ba1213b75e083f011def4a4a62d6d8c9c16b5 normalizemime-1.15.ebuild 711
+SHA256 7f2485fe450d168b53beaa50f2b193c5c0e15c62f499cbec6efddc7ad2a31bc5 normalizemime-1.15.ebuild 711
 MISC ChangeLog 1029 RMD160 8a761fc8c490318fce7c9e32d898d7660b2058b1 SHA1 7925030070e12df2b50acc4e53b6f980d8878200 SHA256 7135c253ef6d9a3264674b63c98a8e1868b8316c18b247c6c5682342422838f0
 MD5 0e9101593570985340ee5612770e1f3d ChangeLog 1029
 RMD160 8a761fc8c490318fce7c9e32d898d7660b2058b1 ChangeLog 1029
@@ -14,3 +17,10 @@ SHA256 3befbae4883392256c6393c5140f5c3ef8bee4484491c9cacc0a5c5900ac32bf metadata
 MD5 f6b681c93826a20f78d1d651af53c5e3 files/digest-normalizemime-1.15 226
 RMD160 900eaf0d3ef6466a14306d5bf02085be174b8979 files/digest-normalizemime-1.15 226
 SHA256 63aa23c9ac2b31e072eefdb78746edd3ed90ff77a6cf73fab63749243d25995f files/digest-normalizemime-1.15 226
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGF3iw8bi6rjpTunYRAlL0AJ0SNy9qzxAGlwzgPDGKPCWwn4TobwCgsUwD
+7zkTk0cejCahzU0fLkXF2+o=
+=p2yq
+-----END PGP SIGNATURE-----
index df022cfcb5205df4e4ffdbcbf947d4b1fa418117..b1d01e7b2618a354f693010953eb8fb523d69954 100644 (file)
@@ -1,30 +1,28 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/normalizemime/normalizemime-1.15.ebuild,v 1.7 2006/09/18 18:17:06 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/normalizemime/normalizemime-1.15.ebuild,v 1.8 2007/04/07 10:55:20 vapier Exp $
 
 inherit toolchain-funcs
 
-DESCRIPTION="Helper program to normalize MIME encoded messages."
+DESCRIPTION="Helper program to normalize MIME encoded messages"
 HOMEPAGE="http://hyvatti.iki.fi/~jaakko/spam/"
 SRC_URI="http://hyvatti.iki.fi/~jaakko/spam/${PN}.cc"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
 IUSE=""
 
-DEPEND="sys-devel/gcc
-       virtual/libc"
+S=${WORKDIR}
 
 src_unpack() {
-       mkdir ${S}
-       cp ${DISTDIR}/${A} ${S}
-       cd ${S}
+       cp "${DISTDIR}"/${A} "${S}" || die
 }
 
 src_compile() {
-       $(tc-getCXX) ${CXXFLAGS} -o normalizemime normalizemime.cc
+       $(tc-getCXX) -Wall ${CXXFLAGS} ${LDFLAGS} -o normalizemime normalizemime.cc || die
 }
 
 src_install() {
-       dobin normalizemime
+       dobin normalizemime || die
 }