wok-6.x view diffuse/receipt @ rev 25315

updated soprano and soprano-dev (2.8.0 -> 2.9.4)
author Hans-G?nter Theisgen
date Thu Jul 21 06:45:43 2022 +0100 (2022-07-21)
parents 370da83187ab
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="diffuse"
4 VERSION="0.4.8"
5 CATEGORY="utilities"
6 SHORT_DESC="Graphical tool for merging and comparing text files."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://sourceforge.net/projects/diffuse/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/MightyCreak/diffuse/archive/refs/tags/v$VERSION.tar.gz"
14 DEPENDS="python pygtk"
15 BUILD_DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/diffuse/files/diffuse/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/diffuse/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./install.py \
29 --destdir=$install \
30 --prefix=/usr \
31 --files-only
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/diffuse $fs/usr/share
43 cp -a $install/usr/share/gnome $fs/usr/share
44 cp -a $install/usr/share/icons $fs/usr/share
45 cp -a $install/usr/share/omf $fs/usr/share
46 }