wok view 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 (8 days ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="compsize"
4 VERSION="1.5"
5 CATEGORY="base-system"
6 SHORT_DESC="btrfs: find compression type/ratio on a file or set of files"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/kilobyte/compsize"
11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
13 BUILD_DEPENDS="btrfs-dev"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $install/usr/share/man/man8
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }