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"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)