wok view vbindiff/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | dffc0bc4d50c |
children | 0262035dc1e7 |
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 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }