# 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" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;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 }