wok annotate diffuse/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (10 months ago)
parents 69e1e705f038
children
rev   line source
Hans-G?nter@24010 1 # SliTaz package receipt.
Hans-G?nter@24010 2
Hans-G?nter@24010 3 PACKAGE="diffuse"
Hans-G?nter@24010 4 VERSION="0.4.8"
Hans-G?nter@24010 5 CATEGORY="utilities"
Hans-G?nter@24010 6 SHORT_DESC="Graphical tool for merging and comparing text files."
Hans-G?nter@24010 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24010 8 LICENSE="GPLv2+"
pascal@25510 9 WEB_SITE="https://sourceforge.net/projects/diffuse/"
Hans-G?nter@24010 10
pascal@24994 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24994 12 WGET_URL="https://github.com/MightyCreak/diffuse/archive/refs/tags/v$VERSION.tar.gz"
Hans-G?nter@24010 13
Hans-G?nter@24010 14 DEPENDS="python pygtk"
Hans-G?nter@24010 15 BUILD_DEPENDS="python"
Hans-G?nter@24010 16
pascal@24361 17 # What is the latest version available today?
pascal@24361 18 current_version()
pascal@24361 19 {
pascal@25603 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25603 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24361 22 }
pascal@24361 23
Hans-G?nter@24010 24 # Rules to configure and make the package.
Hans-G?nter@24010 25 compile_rules()
Hans-G?nter@24010 26 {
Hans-G?nter@24010 27 ./install.py \
Hans-G?nter@24010 28 --destdir=$install \
Hans-G?nter@24010 29 --prefix=/usr \
Hans-G?nter@24010 30 --files-only
Hans-G?nter@24010 31 }
Hans-G?nter@24010 32
Hans-G?nter@24010 33 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24010 34 genpkg_rules()
Hans-G?nter@24010 35 {
Hans-G?nter@24010 36 mkdir -p $fs/usr/share
Hans-G?nter@24010 37
Hans-G?nter@24010 38 cp -a $install/etc $fs
Hans-G?nter@24010 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@24010 40 cp -a $install/usr/share/applications $fs/usr/share
Hans-G?nter@24010 41 cp -a $install/usr/share/diffuse $fs/usr/share
Hans-G?nter@24010 42 cp -a $install/usr/share/gnome $fs/usr/share
Hans-G?nter@24010 43 cp -a $install/usr/share/icons $fs/usr/share
Hans-G?nter@24010 44 cp -a $install/usr/share/omf $fs/usr/share
Hans-G?nter@24010 45 }