summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-04-23 14:33:52 +0000
committerStuart Herbert <stuart@gentoo.org>2004-04-23 14:33:52 +0000
commit22f7f146b5f920db6bbe4b35716e7967411411c5 (patch)
treec0ffd623a6897af2481cb440e7c87085c1258d39 /app-misc/lhinv/lhinv-1.1-r3.ebuild
parentNew ebuild. Submitted by Joseph Spadavecchia <j.spadavecchia@ed.ac.uk>. (Mani... (diff)
downloadgentoo-2-22f7f146b5f920db6bbe4b35716e7967411411c5.tar.gz
gentoo-2-22f7f146b5f920db6bbe4b35716e7967411411c5.tar.bz2
gentoo-2-22f7f146b5f920db6bbe4b35716e7967411411c5.zip
Installs into correct dir
Diffstat (limited to 'app-misc/lhinv/lhinv-1.1-r3.ebuild')
-rw-r--r--app-misc/lhinv/lhinv-1.1-r3.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-misc/lhinv/lhinv-1.1-r3.ebuild b/app-misc/lhinv/lhinv-1.1-r3.ebuild
new file mode 100644
index 000000000000..b0c2658c1cea
--- /dev/null
+++ b/app-misc/lhinv/lhinv-1.1-r3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lhinv/lhinv-1.1-r3.ebuild,v 1.1 2004/04/23 14:33:52 stuart Exp $
+
+DESCRIPTION="Linux Hardware Inventory"
+SRC_URI="mirror://sourceforge/lhinv/${P}.tar.gz"
+HOMEPAGE="http://lhinv.sourceforge.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+RDEPEND="dev-lang/perl"
+
+src_compile() {
+ cd ${S}/cgi
+ sed -i -e "s:^my \$HINV =.*:my \$HINV =\"/usr/bin/lhinv\";:" \
+ w3hinv
+ cd ..
+ make local || die
+}
+
+src_install() {
+ cd ${S}
+ into /usr
+ dobin lhinv
+ doman lhinv.1
+ dodoc AUTHORS BUGS CHANGELOG COPYING README TODO
+ newdoc cgi/README README.cgi
+ insinto /var/www/localhost/cgi-bin
+ insopts -m 755
+ doins cgi/w3hinv
+}