SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "aufs-utils"

# SliTaz package receipt.

PACKAGE="aufs-utils"
VERSION="20230814"
CATEGORY="system-tools"
SHORT_DESC="The aufs utils."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://aufs.sourceforge.net/"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git"
BRANCH="origin/aufs5.10"

DEPENDS="aufs"
BUILD_DEPENDS="git linux-module-headers aufs coreutils-multicall"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/p/aufs/aufs-util/ci/${BRANCH#*/}/tree/ 2>/dev/null | \
    sed '/^ *20[0-9-]*$/!d;s|-||g;s| *||' | sort -r | uniq | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION)
    #sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c

    sed -i 's/-m 644 -T/-m 644/' Makefile

    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/sbin $fs
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)