wok view diffuse/receipt @ rev 24729

updated libdnet and libdnet-dev (1.12 -> 1.14)
author Hans-G?nter Theisgen
date Tue Mar 15 16:28:57 2022 +0100 (2022-03-15)
parents c58748aa5abf
children 1c88796e4a70
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.bz2"
12 WGET_URL="${WEB_SITE}files/$PACKAGE/$VERSION/$TARBALL"
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 }