summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-24 21:42:19 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-24 21:42:19 +0000
commit09b04bf5bb05b9bb2d7d78b0f6413d9c19da0b14 (patch)
treeb9579cc6c92c0c06eb303006500239a39710cfac /dev-libs/libelf
parentfix docs (diff)
downloadgentoo-2-09b04bf5bb05b9bb2d7d78b0f6413d9c19da0b14.tar.gz
gentoo-2-09b04bf5bb05b9bb2d7d78b0f6413d9c19da0b14.tar.bz2
gentoo-2-09b04bf5bb05b9bb2d7d78b0f6413d9c19da0b14.zip
form updates
Diffstat (limited to 'dev-libs/libelf')
-rw-r--r--dev-libs/libelf/libelf-0.7.0.ebuild28
1 files changed, 16 insertions, 12 deletions
diff --git a/dev-libs/libelf/libelf-0.7.0.ebuild b/dev-libs/libelf/libelf-0.7.0.ebuild
index 40a33a291901..9344684b2bbe 100644
--- a/dev-libs/libelf/libelf-0.7.0.ebuild
+++ b/dev-libs/libelf/libelf-0.7.0.ebuild
@@ -1,29 +1,33 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.7.0.ebuild,v 1.1 2001/08/19 21:11:57 achim Exp $
+# Author: Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libelf/libelf-0.7.0.ebuild,v 1.2 2002/03/24 21:42:19 azarah Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A ELF object file access library"
SRC_URI="http://www.stud.uni-hannover.de/~michael/software/libelf-0.7.0.tar.gz"
HOMEPAGE="http://www.stud.uni-hannover.de/~michael/software/"
-DEPEND="virtual/glibc nls? ( sys-devel/gettext )"
+DEPEND="virtual/glibc nls?
+ ( sys-devel/gettext )"
src_compile() {
if [ -z "`use nls`" ] ; then
- myconf="--disable-nls"
+ myconf="--disable-nls"
fi
- cd ${S}
- try ./configure --prefix=/usr --host=${CHOST} ${myconf} --enable-shared
- try make
-
+
+ ./configure --prefix=/usr \
+ --host=${CHOST} \
+ --enable-shared \
+ ${myconf} || die
+
+ emake || die
}
src_install () {
-
- cd ${S}
- try make prefix=${D}/usr install
+ make prefix=${D}/usr \
+ install || die
+
dodoc COYPING.LIB CHangeLog VERSION README
}