wok-6.x view bleachbit/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
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 }