wok diff compsize/receipt @ rev 25864

ncurses-dev: fix pkgconfig path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 30 13:06:18 2025 +0000 (12 days ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/compsize/receipt	Sat Aug 30 13:06:18 2025 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="compsize"
     1.7 +VERSION="1.5"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="btrfs: find compression type/ratio on a file or set of files"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/kilobyte/compsize"
    1.14 +WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
    1.15 +
    1.16 +BUILD_DEPENDS="btrfs-dev"
    1.17 +
    1.18 +# What is the latest version available today?
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.22 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.23 +}
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	mkdir -p $install/usr/share/man/man8
    1.29 +	make DESTDIR=$DESTDIR 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 $fs/usr
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +}