diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-27 07:39:05 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-27 07:39:05 +0000 |
commit | cec3dbfc364ec5dea174932fd90e42ece1d53dcb (patch) | |
tree | 00fcb9646c648a00795e07469ce643b45783c7c0 /app-misc/lhinv | |
parent | Made a package for IBM's Enterprise Volume Management System. (diff) | |
download | historical-cec3dbfc364ec5dea174932fd90e42ece1d53dcb.tar.gz historical-cec3dbfc364ec5dea174932fd90e42ece1d53dcb.tar.bz2 historical-cec3dbfc364ec5dea174932fd90e42ece1d53dcb.zip |
cleanup
Diffstat (limited to 'app-misc/lhinv')
-rw-r--r-- | app-misc/lhinv/lhinv-1.1-r1.ebuild | 44 |
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 } - - - |