wok annotate dosfstools/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (4 weeks ago)
parents bc06829bd4f2
children
rev   line source
pankso@143 1 # SliTaz package receipt.
pankso@143 2
pankso@143 3 PACKAGE="dosfstools"
Hans-G?nter@24496 4 VERSION="4.2"
pankso@202 5 CATEGORY="system-tools"
Hans-G?nter@24496 6 SHORT_DESC="Tools to create and check DOS filesystems."
pankso@143 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL3"
pascal@20194 9 WEB_SITE="https://github.com/$PACKAGE/$PACKAGE"
Hans-G?nter@24496 10
Hans-G?nter@24496 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20194 12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@24496 13
pankso@16078 14 HOST_ARCH="i486 arm"
pankso@143 15
psychomaniak@18234 16 BUILD_DEPENDS="wget"
psychomaniak@18234 17
pascal@25598 18 # What is the latest version available today?
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25598 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 23 }
pascal@24055 24
pankso@143 25 # Rules to configure and make the package.
pankso@143 26 compile_rules()
pankso@143 27 {
pascal@20194 28 ./configure &&
pascal@20194 29 make &&
Hans-G?nter@24496 30 make install DESTDIR=$DESTDIR
pankso@143 31 }
pankso@143 32
pankso@143 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@143 34 genpkg_rules()
pankso@143 35 {
Hans-G?nter@24496 36 cook_copy_folders sbin
pankso@143 37 }