wok-current view duperemove/receipt @ rev 24617
updated libgphoto2 and libgphoto2-dev (2.5.24 -> 2.5.29)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 09:33:31 2022 +0100 (2022-03-07) |
parents | 4de5da068028 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="duperemove"
4 VERSION="0.11.1"
5 CATEGORY="misc"
6 SHORT_DESC="Tools for deduping file systems"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/markfasheh/duperemove"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="glib libsqlite"
14 BUILD_DEPENDS="gcc83 glib-dev sqlite-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|/local||' Makefile
26 make CC=gcc-83 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 }