wok-next diff hardinfo/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | 5669e8b3be70 |
children |
line diff
1.1 --- a/hardinfo/receipt Sat Dec 22 04:52:35 2018 +0200 1.2 +++ b/hardinfo/receipt Thu Dec 05 16:28:27 2019 +0100 1.3 @@ -1,35 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="hardinfo" 1.7 -VERSION="0.5.1" 1.8 +VERSION="0.5.1" # 2009-04-06 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="A tool to get hardware informations and perform benchmarks" 1.11 MAINTAINER="devel@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="http://hardinfo.berlios.de/" 1.14 +WEB_SITE="https://github.com/lpereira/hardinfo" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WGET_URL="http://download.berlios.de/hardinfo/$TARBALL" 1.18 +WGET_URL="$SF_MIRROR/hardinfo.berlios/$TARBALL" 1.19 +TARBALL_SHA1="983f0445aa60e02156bc5a5eaedeffb30b8e4d64" 1.20 1.21 BUILD_DEPENDS="gtk2-dev" 1.22 +DEPENDS="gdk-pixbuf glib gtk2 pango pciutils" 1.23 1.24 compile_rules() { 1.25 - ./configure \ 1.26 - --prefix=/usr \ 1.27 - $CONFIGURE_ARGS && 1.28 - sed -i 's/^GTK_LIBS.*/& -lgmodule-2.0 -lm/' Makefile && 1.29 + ./configure $CONFIGURE_ARGS && 1.30 + sed -i 's|^GTK_LIBS.*|& -lgmodule-2.0 -lm|' Makefile && 1.31 make && 1.32 - make DESTDIR=$install install 1.33 + make install || return 1 1.34 + 1.35 + rmdir $install/usr/local/ # empty 1.36 + rm $install/usr/share/hardinfo/pixmaps/logo.xcf 1.37 + mkdir -p $install/usr/share/icons/hicolor/48x48/apps/ 1.38 + ln -s ../../../../hardinfo/pixmaps/logo.png \ 1.39 + $install/usr/share/icons/hicolor/48x48/apps/hardinfo.png 1.40 } 1.41 - 1.42 -genpkg_rules() { 1.43 - mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps 1.44 - cp -a $install/usr/bin $fs/usr 1.45 - cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules 1.46 - cp -a $install/usr/share/$PACKAGE $fs/usr/share 1.47 - 1.48 - cd $fs/usr/share/pixmaps 1.49 - rm ../$PACKAGE/pixmaps/logo.xcf 1.50 - ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png 1.51 - DEPENDS="gtk2 pciutils libxdamage" 1.52 -}