summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-03-01 03:48:26 +0000
committerMike Frysinger <vapier@gentoo.org>2003-03-01 03:48:26 +0000
commitf49d32cf7714b67fe1443a9c8bb6139b52bc1dba (patch)
tree93197714a6ea168cef0a785967a7b651c639838b /app-sci/units
parentadd support for enew{user,group} (diff)
downloadgentoo-2-f49d32cf7714b67fe1443a9c8bb6139b52bc1dba.tar.gz
gentoo-2-f49d32cf7714b67fe1443a9c8bb6139b52bc1dba.tar.bz2
gentoo-2-f49d32cf7714b67fe1443a9c8bb6139b52bc1dba.zip
touchups
Diffstat (limited to 'app-sci/units')
-rw-r--r--app-sci/units/units-1.74.ebuild37
1 files changed, 8 insertions, 29 deletions
diff --git a/app-sci/units/units-1.74.ebuild b/app-sci/units/units-1.74.ebuild
index 98338c2acbbb..327ea0db8d0f 100644
--- a/app-sci/units/units-1.74.ebuild
+++ b/app-sci/units/units-1.74.ebuild
@@ -1,11 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/units/units-1.74.ebuild,v 1.8 2003/02/13 09:26:28 vapier Exp $
-
-S=${WORKDIR}/${P}
-
-DESCRIPTION="Units is a program for units conversion and units calculation."
+# $Header: /var/cvsroot/gentoo-x86/app-sci/units/units-1.74.ebuild,v 1.9 2003/03/01 03:48:26 vapier Exp $
+DESCRIPTION="program for units conversion and units calculation"
SRC_URI="ftp://ftp.gnu.org/gnu/units/${P}.tar.gz"
HOMEPAGE="http://www.gnu.org/software/units/units.html"
@@ -14,33 +11,15 @@ SLOT="0"
KEYWORDS="x86 ppc"
DEPEND=">=sys-libs/readline-4.1-r2
- >=sys-libs/ncurses-5.2-r3"
-
+ >=sys-libs/ncurses-5.2-r3"
src_compile() {
-
-#Note: the trailing / is required in the datadir path.
- ./configure --infodir=/usr/share/info \
- --mandir=/usr/share/man \
- --datadir=/usr/share/${PN}/ \
- --prefix=/usr \
- --host=${CHOST} || die "./configure failed"
-
+ #Note: the trailing / is required in the datadir path.
+ econf --datadir=/usr/share/${PN}/ || die
emake || die
-
}
-src_install () {
-
-#Note: the trailing / is required in the datadir path.
- make \
- prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- datadir=${D}/usr/share/${PN}/ \
- install || die
-
-dodoc COPYING ChangeLog INSTALL NEWS README
-
+src_install() {
+ einstall datadir=${D}/usr/share/${PN}/ || die
+ dodoc ChangeLog NEWS README
}
-