SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "nilfs-utils"

# SliTaz package receipt.

PACKAGE="nilfs-utils"
VERSION="2.2.8"
CATEGORY="system-tools"
SHORT_DESC="NILFS Filesystem user space tools."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2 LGPL2.1"
WEB_SITE="https://github.com/nilfs-dev/nilfs-utils"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

DEPENDS="util-linux-blkid util-linux-mount util-linux-uuid"
BUILD_DEPENDS="autoconf automake libtool util-linux-blkid-dev util-linux-mount-dev 
    util-linux-uuid-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib

    cp -a $install/etc        $fs
    cp -a $install/sbin        $fs
    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/sbin        $fs/usr
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)