summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-07 11:55:09 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-07 11:55:09 +0000
commit1ba028b69010b17e6d3ee22fc1946ff5c964b7b1 (patch)
treec6a2c40b7ac1e769e3bedaa1c6b25cd239ffb598 /app-misc/lhinv
parent*** empty log message *** (diff)
downloadgentoo-2-1ba028b69010b17e6d3ee22fc1946ff5c964b7b1.tar.gz
gentoo-2-1ba028b69010b17e6d3ee22fc1946ff5c964b7b1.tar.bz2
gentoo-2-1ba028b69010b17e6d3ee22fc1946ff5c964b7b1.zip
*** empty log message ***
Diffstat (limited to 'app-misc/lhinv')
-rw-r--r--app-misc/lhinv/files/digest1
-rw-r--r--app-misc/lhinv/lhinv-1.1-r1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/lhinv/files/digest b/app-misc/lhinv/files/digest
new file mode 100644
index 000000000000..a7c773547308
--- /dev/null
+++ b/app-misc/lhinv/files/digest
@@ -0,0 +1 @@
+MD5 12dad73fd3876944a1f788e1d331a6a5 lhinv-1.1.tar.gz
diff --git a/app-misc/lhinv/lhinv-1.1-r1.ebuild b/app-misc/lhinv/lhinv-1.1-r1.ebuild
new file mode 100644
index 000000000000..efbac812b464
--- /dev/null
+++ b/app-misc/lhinv/lhinv-1.1-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2000 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/app-misc/lhinv/lhinv-1.1-r1.ebuild,v 1.1 2000/08/07 11:55:08 achim Exp $
+
+P=lhinv-1.1
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="app-misc"
+DESCRIPTION="Linux Hardware Inventory"
+SRC_URI="http://download.sourceforge.net/lhinv/"${A}
+HOMEPAGE="http://lhinv.sourceforge.net"
+
+src_compile() {
+ cd ${S}/cgi
+ cp w3hinv w3hinv.orig
+ sed -e "s/^my \$HINV =.*/my \$HINV =\"\/usr\/bin\/lhinv\";/" w3hinv.orig > w3hinv
+ cd ..
+ make local
+}
+
+src_install() {
+ cd ${S}
+ into /usr
+ dobin lhinv
+ doman lhinv.1
+ dodoc AUTHORS BUGS CHANGELOG COPYING README TODO
+ newdoc cgi/README README.cgi
+ insinto /usr/local/httpd/cgi-bin
+ insopts -m 755
+ doins cgi/w3hinv
+}
+
+
+