SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "spl"

# SliTaz package receipt.

PACKAGE="spl"
VERSION="0.7.13"
CATEGORY="system-tools"
SHORT_DESC="Solaris Porting Layer for ZFS."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://zfsonlinux.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/zfsonlinux/zfs/releases/download/zfs-$VERSION/$TARBALL"

DEPENDS=""
BUILD_DEPENDS="linux-module-headers"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/zfs-\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --mandir=/usr/share/man        \
        --with-linux=/usr/src/linux    \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    EXTRAVERSION="_${kvers}"

    mkdir -p $fs/usr

    cp -a $install/usr/sbin    $fs/usr
    cp -a $install/lib    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)