Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current/.git;a=commitdiff;h=8175e98f225095db3e651d78a5d2776a319d78c2

commit 8175e98f225095db3e651d78a5d2776a319d78c2
Author: Christian Hamar alias krix <[EMAIL PROTECTED]>
Date:   Tue Jul 31 20:03:11 2007 +0200

lshw-B.02.11-1-x86_64
* Version bump
* Fsed for install -p -s (not to use -s for dirs .. and for anything else)
* Fixed up sed now DESTDIR= is DESTDIR?=

diff --git a/source/apps-extra/lshw/FrugalBuild 
b/source/apps-extra/lshw/FrugalBuild
index 7403fa6..d525fff 100644
--- a/source/apps-extra/lshw/FrugalBuild
+++ b/source/apps-extra/lshw/FrugalBuild
@@ -3,7 +3,7 @@
# Old Maintainer: BMH1980 <[EMAIL PROTECTED]>

pkgname=lshw
-pkgver=B.02.10
+pkgver=B.02.11
pkgrel=1
pkgdesc="A tool to provide information on the hardware configuration of the 
machine."
url="http://ezix.org/project/wiki/HardwareLiSter";
@@ -24,10 +24,12 @@ subarchs=('i686 x86_64')

build() {
for i in `find . -name Makefile` ; do
-               sed -i -e "s|DESTDIR=/|DESTDIR=$Fdestdir|" \
+               sed -i -e "s|DESTDIR?=/|DESTDIR=$Fdestdir|" \
-e "s|SBINDIR=\$(PREFIX)/sbin|SBINDIR=\$(PREFIX)/bin|" \
-e "s|^CXXFLAGS=.*|&$CXXFLAGS|" $i || Fdie
done
+       # What.. install wants to strip a directory ...
+       Fsed "-p -s" "-p" src/Makefile
Fmake
Fmakeinstall
Fmake gui
@@ -39,5 +41,5 @@ build() {
Fsplit ${subpkgs[0]} usr/share/doc/${subpkgs[0]}-$pkgver
}

-sha1sums=('e1ce1a4dffcaaf667432cc644df1438932ad127f')
+sha1sums=('2a4dbbbd2ce24a936ae17eee21e8f5997612bd84')
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to