wok annotate duperemove/receipt @ rev 25706

BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 26 17:36:15 2024 +0000 (2 days ago)
parents 5ea0ce1cecc0
children
rev   line source
pascal@23883 1 # SliTaz package receipt.
pascal@23883 2
pascal@23883 3 PACKAGE="duperemove"
pascal@23883 4 VERSION="0.11.1"
pascal@23883 5 CATEGORY="misc"
pascal@23883 6 SHORT_DESC="Tools for deduping file systems"
pascal@23883 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@23883 8 LICENSE="GPL2"
pascal@23883 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23883 10 WEB_SITE="https://github.com/markfasheh/duperemove"
pascal@23883 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@23883 12
pascal@23883 13 DEPENDS="glib libsqlite"
pascal@23883 14 BUILD_DEPENDS="gcc83 glib-dev sqlite-dev"
pascal@23883 15
pascal@25598 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25598 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
pascal@23883 23 # Rules to configure and make the package.
pascal@23883 24 compile_rules()
pascal@23883 25 {
pascal@23883 26 sed -i 's|/local||' Makefile
pascal@23883 27 make CC=gcc-83 &&
pascal@23883 28 make DESTDIR=$DESTDIR install
pascal@23883 29 }
pascal@23883 30
pascal@23883 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23883 32 genpkg_rules()
pascal@23883 33 {
pascal@23883 34 mkdir -p $fs/usr
pascal@23883 35 cp -a $install/usr/sbin $fs/usr
pascal@23883 36 }