summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-27 07:31:38 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-27 07:31:38 +0000
commite5eb3ec291493c1dd72255ea6d1ed7d3acf4333d (patch)
tree24469b33169fd079363f09caeb96c40de2c88cc7 /app-misc/lhinv
parentcleanup (diff)
downloadgentoo-2-e5eb3ec291493c1dd72255ea6d1ed7d3acf4333d.tar.gz
gentoo-2-e5eb3ec291493c1dd72255ea6d1ed7d3acf4333d.tar.bz2
gentoo-2-e5eb3ec291493c1dd72255ea6d1ed7d3acf4333d.zip
cleanup
Diffstat (limited to 'app-misc/lhinv')
-rw-r--r--app-misc/lhinv/lhinv-1.1-r1.ebuild44
1 files changed, 20 insertions, 24 deletions
diff --git a/app-misc/lhinv/lhinv-1.1-r1.ebuild b/app-misc/lhinv/lhinv-1.1-r1.ebuild
index 3165177bf356..73802a0479c7 100644
--- a/app-misc/lhinv/lhinv-1.1-r1.ebuild
+++ b/app-misc/lhinv/lhinv-1.1-r1.ebuild
@@ -1,36 +1,32 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2002 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.5 2001/05/29 17:28:19 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lhinv/lhinv-1.1-r1.ebuild,v 1.6 2002/04/27 07:29:30 seemant Exp $
-P=lhinv-1.1
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Linux Hardware Inventory"
-SRC_URI="http://download.sourceforge.net/lhinv/"${A}
+SRC_URI="http://download.sourceforge.net/lhinv/${P}.tar.gz"
HOMEPAGE="http://lhinv.sourceforge.net"
RDEPEND=">=sys-devel/perl-5"
-src_compile() {
- cd ${S}/cgi
- cp w3hinv w3hinv.orig
- sed -e "s/^my \$HINV =.*/my \$HINV =\"\/usr\/bin\/lhinv\";/" w3hinv.orig > w3hinv
- cd ..
- try make local
+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 || 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 /usr/local/httpd/cgi-bin
- insopts -m 755
- doins cgi/w3hinv
+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
}
-
-
-