wok annotate disktype/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (10 months ago)
parents 7dd01dedad38
children
rev   line source
slaxemulator@7606 1 # SliTaz package receipt.
slaxemulator@7606 2
slaxemulator@7606 3 PACKAGE="disktype"
slaxemulator@7606 4 VERSION="9"
slaxemulator@7606 5 CATEGORY="system-tools"
slaxemulator@7606 6 SHORT_DESC="Detects the content format of a disk or disk image (file systems, partition tables, and boot codes)"
slaxemulator@7606 7 MAINTAINER="db_slitaz@m4x.org"
pascal@15579 8 LICENSE="MIT"
slaxemulator@7606 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25460 10 WEB_SITE="https://disktype.sourceforge.net/"
slaxemulator@7606 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7606 12
pascal@15579 13 DEPENDS=""
pascal@15579 14
pascal@24385 15 # What is the latest version available today?
pascal@24385 16 current_version()
pascal@24385 17 {
pascal@24385 18 wget -O - https://sourceforge.net/projects/disktype/files/disktype/ 2>/dev/null | \
pascal@25605 19 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;s|.*/disktype/||;s|/.*||;q'
pascal@24385 21 }
pascal@24385 22
slaxemulator@7606 23 # Rules to configure and make the package.
slaxemulator@7606 24 compile_rules()
slaxemulator@7606 25 {
slaxemulator@7606 26 make
slaxemulator@7606 27 }
slaxemulator@7606 28
slaxemulator@7606 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7606 30 genpkg_rules()
slaxemulator@7606 31 {
slaxemulator@7606 32 mkdir -p $fs/usr/bin
slaxemulator@7606 33 cp -a $src/disktype $fs/usr/bin
slaxemulator@7606 34 }