wok view vbindiff/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vbindiff"
4 VERSION="3.0_beta5"
5 CATEGORY="utilities"
6 TAGS="compare"
7 SHORT_DESC="Visual binary diff."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPLv2+"
10 WEB_SITE="https://www.cjmweb.net/vbindiff/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mrdudz/vbindiff/releases/download/$VERSION/$TARBALL"
15 DEPENDS="libpanel ncursesw"
16 BUILD_DEPENDS="libpanel ncursesw-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }