wok annotate bleachbit/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (13 days ago) |
parents | 9af0e03b8ad0 |
children |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="bleachbit" |
Hans-G?nter@22547 | 4 VERSION="3.0" |
pascal@11217 | 5 CATEGORY="system-tools" |
Hans-G?nter@22547 | 6 SHORT_DESC="Deletes unneeded files to free disk space and maintain privacy." |
pascal@11217 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15201 | 8 LICENSE="GPL3" |
Hans-G?nter@22547 | 9 WEB_SITE="https://www.bleachbit.org/" |
Hans-G?nter@20746 | 10 |
pascal@25021 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25021 | 12 WGET_URL="https://github.com/bleachbit/bleachbit/archive/refs/tags/v$VERSION.tar.gz" |
pascal@14999 | 13 |
Hans-G?nter@22547 | 14 DEPENDS="pygtk python" |
pascal@11217 | 15 BUILD_DEPENDS="python" |
pascal@11217 | 16 |
pascal@24373 | 17 # What is the latest version available today? |
pascal@24373 | 18 current_version() |
pascal@24373 | 19 { |
pascal@24373 | 20 wget -O - https://www.bleachbit.org/download/source 2>/dev/null | \ |
pascal@24373 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 22 } |
pascal@24373 | 23 |
pascal@11217 | 24 # Rules to configure and make the package. |
pascal@11217 | 25 compile_rules() |
pascal@11217 | 26 { |
pascal@11217 | 27 make -C po local && |
Hans-G?nter@22547 | 28 make install \ |
Hans-G?nter@22547 | 29 prefix=/usr \ |
Hans-G?nter@22547 | 30 DESTDIR=$DESTDIR |
pascal@11217 | 31 } |
pascal@11217 | 32 |
pascal@11217 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 34 genpkg_rules() |
pascal@11217 | 35 { |
pascal@11217 | 36 mkdir -p $fs/usr/ |
Hans-G?nter@22547 | 37 |
Hans-G?nter@22547 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22547 | 39 cp -a $install/usr/share $fs/usr |
pascal@11217 | 40 } |