wok annotate exfat-utils/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (5 weeks ago)
parents b1356f30c0b8
children
rev   line source
pascal@13301 1 # SliTaz package receipt.
pascal@13301 2
pascal@13301 3 PACKAGE="exfat-utils"
mojo@20996 4 VERSION="1.3.0"
pascal@13301 5 CATEGORY="base-system"
pascal@13301 6 SHORT_DESC="exFAT file system tools."
pascal@13301 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pascal@20672 9 WEB_SITE="https://github.com/relan/exfat"
pascal@13301 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mojo@20996 11 WGET_URL="https://github.com/relan/exfat/archive/v$VERSION/$TARBALL"
pascal@23935 12 PROVIDE="exfat-fuse"
pascal@13301 13
pascal@24765 14 DEPENDS="fuse2"
pascal@24765 15 BUILD_DEPENDS="autoconf automake fuse2-dev"
pascal@13301 16
pascal@25599 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25599 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@13301 24 # Rules to configure and make the package.
pascal@13301 25 compile_rules()
pascal@13301 26 {
mojo@20996 27 autoreconf --install
mojo@20996 28 ./configure
mojo@20996 29 make DESTDIR=$DESTDIR install
pascal@13301 30 }
pascal@13301 31
pascal@13301 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13301 33 genpkg_rules()
pascal@13301 34 {
mojo@20996 35 mkdir -p $fs/sbin $fs/usr
mojo@20996 36 mv $install/usr/sbin/mount.exfat* $fs/sbin
mojo@20996 37 cp -a $install/usr/sbin $fs/usr
pascal@13301 38 }