summaryrefslogtreecommitdiffstats
path: root/man/ebuild.5
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-04-12 19:49:25 +0000
committerZac Medico <zmedico@gentoo.org>2007-04-12 19:49:25 +0000
commitf6ea126e2d4aa738fcd9cba51e7fb8465e6d6bea (patch)
tree404c8010c18e31cd6da950a6e1e1992bac8550ae /man/ebuild.5
parent2d01fee3fae28cdeec009b55dbb0184616bc8a71 (diff)
downloadportage-f6ea126e2d4aa738fcd9cba51e7fb8465e6d6bea.tar.gz
portage-f6ea126e2d4aa738fcd9cba51e7fb8465e6d6bea.tar.bz2
portage-f6ea126e2d4aa738fcd9cba51e7fb8465e6d6bea.zip
cleanup example ebuild to be more representative of a good ebuild #174260 by Timothy Redaelli (trunk r6378:6379)
svn path=/main/branches/2.1.2/; revision=6382
Diffstat (limited to 'man/ebuild.5')
-rw-r--r--man/ebuild.518
1 files changed, 7 insertions, 11 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index 7f3557b42..fcd9e7898 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"