wok-current view aufs-utils/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | a23978bfa665 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20230814"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://aufs.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git"
12 BRANCH="origin/aufs5.10"
14 DEPENDS="aufs"
15 BUILD_DEPENDS="git linux-module-headers aufs coreutils-multicall"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/p/aufs/aufs-util/ci/${BRANCH#*/}/tree/ 2>/dev/null | \
21 sed '/^ *20[0-9-]*$/!d;s|-||g;s| *||' | sort -r | uniq | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION)
28 #sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c
30 sed -i 's/-m 644 -T/-m 644/' Makefile
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/sbin $fs
41 cp -a $install/usr/bin $fs/usr
42 }