wok diff grub-btrfs/receipt @ rev 25831

Fix bind init, rndc-confgen -r option is deprecated
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 29 08:08:18 2025 +0000 (4 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/grub-btrfs/receipt	Tue Apr 29 08:08:18 2025 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="grub-btrfs"
     1.7 +VERSION="4.13"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Include btrfs snapshots at boot options. (Grub menu)."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://github.com/Antynea/grub-btrfs"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz"
    1.16 +
    1.17 +DEPENDS="btrfs-progs grub2 bash gawk"
    1.18 +
    1.19 +# What is the latest version available today?
    1.20 +current_version()
    1.21 +{
    1.22 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.23 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.24 +}
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	make install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr
    1.36 +
    1.37 +	cp -a $install/etc	$fs/
    1.38 +	cp -a $install/usr/bin	$fs/usr
    1.39 +}