SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "vbindiff"

# SliTaz package receipt.

PACKAGE="vbindiff"
VERSION="3.0_beta5"
CATEGORY="utilities"
TAGS="compare"
SHORT_DESC="Visual binary diff."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPLv2+"
WEB_SITE="https://www.cjmweb.net/vbindiff/"

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

DEPENDS="libpanel ncursesw"
BUILD_DEPENDS="libpanel ncursesw-dev"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    ./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
    cp -a $install/usr/bin    $fs/usr
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)