wok-6.x annotate vbindiff/receipt @ rev 24718
updated libarchive and libarchive-dev (3.4.2 -> 3.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 07:41:02 2022 +0100 (2022-03-15) |
parents | dffc0bc4d50c |
children |
rev | line source |
---|---|
Hans-G?nter@24003 | 1 # SliTaz package receipt. |
Hans-G?nter@24003 | 2 |
Hans-G?nter@24003 | 3 PACKAGE="vbindiff" |
Hans-G?nter@24003 | 4 VERSION="3.0_beta5" |
Hans-G?nter@24003 | 5 CATEGORY="utilities" |
Hans-G?nter@24003 | 6 TAGS="compare" |
Hans-G?nter@24003 | 7 SHORT_DESC="Visual binary diff." |
Hans-G?nter@24003 | 8 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24003 | 9 LICENSE="GPLv2+" |
Hans-G?nter@24003 | 10 WEB_SITE="https://www.cjmweb.net/vbindiff/" |
Hans-G?nter@24003 | 11 |
Hans-G?nter@24003 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24003 | 13 WGET_URL="https://github.com/mrdudz/vbindiff/releases/download/$VERSION/$TARBALL" |
Hans-G?nter@24003 | 14 |
Hans-G?nter@24003 | 15 DEPENDS="libpanel ncursesw" |
Hans-G?nter@24003 | 16 BUILD_DEPENDS="libpanel ncursesw-dev" |
Hans-G?nter@24003 | 17 |
Hans-G?nter@24003 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@24003 | 19 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24055 | 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 23 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
Hans-G?nter@24003 | 26 # Rules to configure and make the package. |
Hans-G?nter@24003 | 27 compile_rules() |
Hans-G?nter@24003 | 28 { |
Hans-G?nter@24003 | 29 ./configure \ |
Hans-G?nter@24003 | 30 --prefix=/usr \ |
Hans-G?nter@24003 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24003 | 32 make && |
Hans-G?nter@24003 | 33 make DESTDIR=$DESTDIR install |
Hans-G?nter@24003 | 34 } |
Hans-G?nter@24003 | 35 |
Hans-G?nter@24003 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24003 | 37 genpkg_rules() |
Hans-G?nter@24003 | 38 { |
Hans-G?nter@24003 | 39 mkdir -p $fs/usr |
Hans-G?nter@24003 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24003 | 41 } |