SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wimlib"

# SliTaz package receipt.

PACKAGE="wimlib"
VERSION="1.13.5"
CATEGORY="utilities"
SHORT_DESC="Library to create, extract, and modify Windows Imaging (WIM) files."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://wimlib.net/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}downloads/$TARBALL"

DEPENDS="cabextract cdrkit fuse2 libcrypto libxml2 mtools ntfs-3g 
    syslinux zlib"
BUILD_DEPENDS="attr-dev cabextract cdrkit fuse2-dev libxml2-dev mtools 
    ntfs-3g-dev openssl-dev pkg-config syslinux"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    include
    cook_copy_folders    lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)