wok-current annotate diffuse/receipt @ rev 24561
updated fping (4.2 -> 5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:30:10 2022 +0100 (2022-02-25) |
parents | c58748aa5abf |
children | 1c88796e4a70 |
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+" |
Hans-G?nter@24010 | 9 WEB_SITE="https://sourceforge.net/projects/diffuse/" |
Hans-G?nter@24010 | 10 |
Hans-G?nter@24010 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@24010 | 12 WGET_URL="${WEB_SITE}files/$PACKAGE/$VERSION/$TARBALL" |
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@24361 | 20 wget -O - https://sourceforge.net/projects/diffuse/files/diffuse/ 2>/dev/null | \ |
pascal@24361 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 22 sed '/scope="row/!d;s|.*/diffuse/||;s|/.*||;q' |
pascal@24361 | 23 } |
pascal@24361 | 24 |
Hans-G?nter@24010 | 25 # Rules to configure and make the package. |
Hans-G?nter@24010 | 26 compile_rules() |
Hans-G?nter@24010 | 27 { |
Hans-G?nter@24010 | 28 ./install.py \ |
Hans-G?nter@24010 | 29 --destdir=$install \ |
Hans-G?nter@24010 | 30 --prefix=/usr \ |
Hans-G?nter@24010 | 31 --files-only |
Hans-G?nter@24010 | 32 } |
Hans-G?nter@24010 | 33 |
Hans-G?nter@24010 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24010 | 35 genpkg_rules() |
Hans-G?nter@24010 | 36 { |
Hans-G?nter@24010 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@24010 | 38 |
Hans-G?nter@24010 | 39 cp -a $install/etc $fs |
Hans-G?nter@24010 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@24010 | 41 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@24010 | 42 cp -a $install/usr/share/diffuse $fs/usr/share |
Hans-G?nter@24010 | 43 cp -a $install/usr/share/gnome $fs/usr/share |
Hans-G?nter@24010 | 44 cp -a $install/usr/share/icons $fs/usr/share |
Hans-G?nter@24010 | 45 cp -a $install/usr/share/omf $fs/usr/share |
Hans-G?nter@24010 | 46 } |