wok view bleachbit/receipt @ rev 25705

fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 22 12:48:49 2024 +0000 (3 months ago)
parents 9af0e03b8ad0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="bleachbit"
4 VERSION="3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Deletes unneeded files to free disk space and maintain privacy."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.bleachbit.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/bleachbit/bleachbit/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="pygtk python"
15 BUILD_DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://www.bleachbit.org/download/source 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make -C po local &&
28 make install \
29 prefix=/usr \
30 DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 }