summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2002-01-08 22:59:05 +0000
committerGeert Bevin <gbevin@gentoo.org>2002-01-08 22:59:05 +0000
commite5698cec6151893db7d3bfff91ab947f5751bbcf (patch)
tree32ac3514cdce6d0221233cbbcb58fda01375daba /app-misc
parentforgot the --enable/disable-bonobo (diff)
downloadhistorical-e5698cec6151893db7d3bfff91ab947f5751bbcf.tar.gz
historical-e5698cec6151893db7d3bfff91ab947f5751bbcf.tar.bz2
historical-e5698cec6151893db7d3bfff91ab947f5751bbcf.zip
Initial version.
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/units/files/digest-units-1.741
-rw-r--r--app-misc/units/units-1.74.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/app-misc/units/files/digest-units-1.74 b/app-misc/units/files/digest-units-1.74
new file mode 100644
index 000000000000..f29f6acb51b7
--- /dev/null
+++ b/app-misc/units/files/digest-units-1.74
@@ -0,0 +1 @@
+MD5 230d1cb0367f9f4ac345beda371bbb53 units-1.74.tar.gz 180224
diff --git a/app-misc/units/units-1.74.ebuild b/app-misc/units/units-1.74.ebuild
new file mode 100644
index 000000000000..a4679b5bdcb3
--- /dev/null
+++ b/app-misc/units/units-1.74.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Tod Neidt <tneidt@fidnet.com>
+# $ Header: $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="Units is a 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"
+
+DEPEND=">=sys-libs/readline-4.1-r2
+ >=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"
+
+ 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
+
+}
+