cleanup example ebuild to be more representative of a good ebuild #174260 by Timothy...
authorZac Medico <zmedico@gentoo.org>
Thu, 12 Apr 2007 19:49:25 +0000 (19:49 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 12 Apr 2007 19:49:25 +0000 (19:49 -0000)
svn path=/main/branches/2.1.2/; revision=6382

man/ebuild.5

index 7f3557b42b6eb0e29bfd08017ba7959cb27af7d3..fcd9e78983916d1acc9cd0926fdf7601d81f3aeb 100644 (file)
@@ -30,23 +30,19 @@ SLOT="0"
 KEYWORDS="~x86"
 IUSE=""
 
-DEPEND="virtual/libc"
-RDEPEND="virtual/libc"
+RDEPEND=""
+DEPEND="nls? ( sys-devel/gettext )"
 
 src_compile() {
-       econf || die "could not configure"
+       econf \\
+               \-\-bindir=/bin \\
+               || die "could not configure"
        emake || die "emake failed"
 }
 
 src_install() {
-       into /usr
-       doinfo doc/sed.info
-       doman doc/sed.1
-       into /
-       dobin sed/sed || die "dobin sed failed"
-       dodir /usr/bin
-       dosym /bin/sed /usr/bin/sed
-       dodoc NEWS README* THANKS TODO AUTHORS BUGS ANNOUNCE
+       emake install DESTDIR="${D}" || die "Install failed"
+       dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog
 }
 .fi
 .SH "VARIABLES"