wok-next view hardinfo/receipt @ rev 21604
updated duktape (2.3.0 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:30:47 2020 +0100 (2020-06-24) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hardinfo"
4 VERSION="0.5.1" # 2009-04-06
5 CATEGORY="system-tools"
6 SHORT_DESC="A tool to get hardware informations and perform benchmarks"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lpereira/hardinfo"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/hardinfo.berlios/$TARBALL"
13 TARBALL_SHA1="983f0445aa60e02156bc5a5eaedeffb30b8e4d64"
15 BUILD_DEPENDS="gtk2-dev"
16 DEPENDS="gdk-pixbuf glib gtk2 pango pciutils"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 sed -i 's|^GTK_LIBS.*|& -lgmodule-2.0 -lm|' Makefile &&
21 make &&
22 make install || return 1
24 rmdir $install/usr/local/ # empty
25 rm $install/usr/share/hardinfo/pixmaps/logo.xcf
26 mkdir -p $install/usr/share/icons/hicolor/48x48/apps/
27 ln -s ../../../../hardinfo/pixmaps/logo.png \
28 $install/usr/share/icons/hicolor/48x48/apps/hardinfo.png
29 }