wok annotate disktype/receipt @ rev 25150
updated proftpd-tls (1.3.6d -> 1.3.7d)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 17:07:59 2022 +0100 (2022-06-29) |
parents | eb8067417980 |
children | 7dd01dedad38 |
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" |
slaxemulator@7606 | 10 WEB_SITE="http://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@24385 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 } |