summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/lhinv/lhinv-1.1-r1.ebuild')
-rw-r--r--app-misc/lhinv/lhinv-1.1-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
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
+}
+
+
+