wok annotate duperemove/receipt @ rev 23883

Add duperemove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 14 19:24:33 2020 +0000 (2020-07-14)
parents
children 5ea0ce1cecc0
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@23883 16 # Rules to configure and make the package.
pascal@23883 17 compile_rules()
pascal@23883 18 {
pascal@23883 19 sed -i 's|/local||' Makefile
pascal@23883 20 make CC=gcc-83 &&
pascal@23883 21 make DESTDIR=$DESTDIR install
pascal@23883 22 }
pascal@23883 23
pascal@23883 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23883 25 genpkg_rules()
pascal@23883 26 {
pascal@23883 27 mkdir -p $fs/usr
pascal@23883 28 cp -a $install/usr/sbin $fs/usr
pascal@23883 29 }