wok-current diff hardinfo/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents b569b85b0fb9
children
line diff
     1.1 --- a/hardinfo/receipt	Mon Jan 17 18:18:17 2022 +0000
     1.2 +++ b/hardinfo/receipt	Fri Apr 19 12:48:51 2024 +0000
     1.3 @@ -6,9 +6,9 @@
     1.4  SHORT_DESC="A tool to get hardware informations and perform benchmarks."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="https://github.com/lpereira/hardinfo"
    1.10 -WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
    1.11 +WGET_URL="https://github.com/lpereira/hardinfo/archive/refs/tags/release-0.5.1.tar.gz"
    1.12  
    1.13  DEPENDS="gtk+ pciutils xorg-libXdamage"
    1.14  BUILD_DEPENDS="gtk+ gtk+-dev"
    1.15 @@ -23,6 +23,12 @@
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 +	cd $src/hardinfo2
    1.20 +
    1.21 +	# Patch to be build with new stack
    1.22 +	# See https://slackbuilds.org/slackbuilds/15.0/system/hardinfo
    1.23 +	patch -p1 < $stuff/makefile.patch
    1.24 +
    1.25  	while read file; do
    1.26  		[ -f done.$file ] && continue
    1.27  		patch -p0 < $stuff/$file || return 1
    1.28 @@ -42,12 +48,11 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
    1.33 +	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/pixmaps
    1.34  	cp -a $install/usr/bin $fs/usr
    1.35 -	cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
    1.36 +	cp -a $install/usr/lib/$PACKAGE/modules $fs/usr/lib/$PACKAGE
    1.37  	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.38  	cd $fs/usr/share/pixmaps
    1.39  	rm ../$PACKAGE/pixmaps/logo.xcf
    1.40  	ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
    1.41  }
    1.42 -