# Description: Liste votre materiel et ses specificites # URL: http://ezix.org/project/wiki/HardwareLiSter # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch # Depends on: atk, expat, fontconfig, gtk, pango # Run on: atk,expat,fontconfig,gtk,pango name=lshw version=B.02.15 release=1 source=(http://ezix.org/software/files/$name-$version.tar.gz\ http://nutyx.meticul.eu/files/patchs/$name/{lshw.png,lshw.svg,lshw.desktop}) build() { cd $name-$version sed -i 's@-g -Wall@-g -Wall -O2 -march=i686 -pipe@g' src/Makefile sed -i 's@-g -Wall@-g -Wall -O2 -march=i686 -pipe@g' src/core/Makefile sed -i 's@-g -Wall@-g -Wall -O2 -march=i686 -pipe@g' src/gui/Makefile make MANDIR=/usr/share/man make MANDIR=/usr/share/man gui make DESTDIR=$PKG MANDIR=/usr/share/man install make DESTDIR=$PKG MANDIR=/usr/share/man install-gui mkdir -p $PKG/usr/share/icons/hicolor/{48x48,scalable}/apps install -m644 ../$name.png $PKG/usr/share/icons/hicolor/48x48/apps/ install -m644 ../$name.svg $PKG/usr/share/icons/hicolor/scalable/apps/ mkdir -p $PKG/usr/share/applications install -m644 ../$name.desktop $PKG/usr/share/applications/ }