wok annotate duperemove/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 4de5da068028
children fe1b5660fdd1
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@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@23883 22 # Rules to configure and make the package.
pascal@23883 23 compile_rules()
pascal@23883 24 {
pascal@23883 25 sed -i 's|/local||' Makefile
pascal@23883 26 make CC=gcc-83 &&
pascal@23883 27 make DESTDIR=$DESTDIR install
pascal@23883 28 }
pascal@23883 29
pascal@23883 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23883 31 genpkg_rules()
pascal@23883 32 {
pascal@23883 33 mkdir -p $fs/usr
pascal@23883 34 cp -a $install/usr/sbin $fs/usr
pascal@23883 35 }