#Maintainer: JRD #Mandatory pkgname=hardware4linux-info-collector pkgver=0.9.4 pkgrel=1 zenver=48 arch=i486 source=("http://hardware4linux.info/res/hwreport-$pkgver.tar.bz2") docs=('license' 'readme') url="http://hardware4linux.info" #extradepends=('perl') #Optional #options=('noextract' 'norequiredbuilder') #extradepends=('dep1' 'dep2' 'dep3') #lessdepends=('dep4' 'dep5' 'dep6') #dotnew=('etc/thing' 'etc/foo' 'etc/bar') #CFLAGS="-03 -funrolloops" #CXXFLAGS="-03 -funrolloops" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname - Hardware4linux.info collector tool" "Hardware4linux.info is a web site to lookup and report hardware" "compatibility and incompatibility with Linux distributions." "" "Components are rated according to their Linux compatibility." ) build() { cd $startdir/src/hwreport-$pkgver cat <<'EOF' > Makefile.patch --- Makefile.orig 2007-08-27 00:01:50.000000000 +0200 +++ Makefile 2008-01-07 11:05:08.000000000 +0100 @@ -33,7 +33,7 @@ mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(libdir) cp hwreport $(DESTDIR)$(bindir)/. perl -p -i -e "s@/usr/lib/hwreport@$(libdir)@" $(DESTDIR)$(bindir)/hwreport - cp osinfo scan-printers $(DESTDIR)$(libdir)/. + cp scan-printers $(DESTDIR)$(libdir)/. # Local variables: # mode: makefile EOF patch -p0 < Makefile.patch make || return 1 make DESTDIR=$startdir/pkg install } #doinst() { #commands run after installation #} # vim: syn=sh