wok annotate dmidecode/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents 92362bece527
children 7018868ac1f6
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="dmidecode"
Hans-G?nter@20840 4 VERSION="3.2"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="SMBIOS/DMI reports."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
erjo@621 9 WEB_SITE="http://www.nongnu.org/dmidecode/"
Hans-G?nter@20840 10
Hans-G?nter@20840 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@20840 12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
erjo@621 13
pascal@15579 14 DEPENDS=""
pascal@15579 15
pascal@24415 16 # What is the latest version available today?
pascal@24415 17 current_version()
pascal@24415 18 {
pascal@24415 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 21 }
pascal@24415 22
erjo@621 23 # Rules to configure and make the package.
erjo@621 24 compile_rules()
erjo@621 25 {
pascal@20212 26 sed -i 's|uname -m|echo i486|' Makefile
Hans-G?nter@20840 27
Hans-G?nter@20840 28 make -j 1 &&
pascal@15579 29 make DESTDIR=$DESTDIR install
erjo@621 30 }
erjo@621 31
erjo@621 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 33 genpkg_rules()
erjo@621 34 {
erjo@621 35 mkdir -p $fs/usr/sbin
pascal@15579 36 cp -a $install/usr/local/sbin/* $fs/usr/sbin
erjo@621 37 }