summaryrefslogtreecommitdiffstats
path: root/extra/lshw/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:48:33 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:48:33 +0200
commitd46bc527368f101271862479c0069e9dc8bf599c (patch)
tree942642b14a7f7b87c062c9e679a6b2bf3f9dcda8 /extra/lshw/Pkgfile
parent88720bba815bd8361f062593998bbd60a3d19eec (diff)
downloadnutyx-extra-d46bc527368f101271862479c0069e9dc8bf599c.tar.gz
nutyx-extra-d46bc527368f101271862479c0069e9dc8bf599c.tar.bz2
nutyx-extra-d46bc527368f101271862479c0069e9dc8bf599c.tar.xz
nutyx-extra-d46bc527368f101271862479c0069e9dc8bf599c.zip
Ajout de lshw#B.02.13-1
Diffstat (limited to 'extra/lshw/Pkgfile')
-rwxr-xr-xextra/lshw/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/lshw/Pkgfile b/extra/lshw/Pkgfile
new file mode 100755
index 000000000..babbd44c7
--- /dev/null
+++ b/extra/lshw/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Liste votre materiel et ses specificites
+# URL: http://ezix.org/project/wiki/HardwareLiSter
+# Maintainer: NuTyX core team
+# Packager: fred.galusik at gmail dot com
+# Depends on: atk, directfb, expat, fontconfig, freetype, gcc, glib, gtk, libpng, pango, zlib
+
+name=lshw
+version=B.02.13
+release=1
+source=(http://ezix.org/software/files/$name-$version.tar.gz \
+lshw.png \
+lshw.svg \
+abi_stdlib.diff
+lshw.desktop)
+
+build() {
+cd $name-$version
+ patch -Np0 -i ../abi_stdlib.diff
+ 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/
+}
+