diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-12 13:10:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-12 13:10:00 +0000 |
commit | 27684e2bc3550795a90e070eefb904b64f529592 (patch) | |
tree | 286e0e33ef13e8100d479647f7874296d56872cc | |
parent | b5343aac9dcb4b8d9a643eaa8fec610b92fa3538 (diff) | |
download | portage-27684e2bc3550795a90e070eefb904b64f529592.tar.gz portage-27684e2bc3550795a90e070eefb904b64f529592.tar.bz2 portage-27684e2bc3550795a90e070eefb904b64f529592.zip |
cleanup example ebuild to be more representative of a "good" ebuild #174260 by Timothy Redaelli
svn path=/main/trunk/; revision=6379
-rw-r--r-- | man/ebuild.5 | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5 index bf93e3aac..0ebf0e11d 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -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" |