wok-current annotate xxdiff/receipt @ rev 24909
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:28:38 2022 +0000 (2022-04-09) |
parents | e424d38736d6 |
children | 73f36875e5a7 |
rev | line source |
---|---|
Hans-G?nter@21782 | 1 # SliTaz package receipt. |
Hans-G?nter@21782 | 2 |
Hans-G?nter@21782 | 3 PACKAGE="xxdiff" |
pascal@24383 | 4 VERSION="4.0.1" |
Hans-G?nter@21782 | 5 CATEGORY="development" |
Hans-G?nter@21782 | 6 SHORT_DESC="A graphical front end to the diff command." |
Hans-G?nter@21782 | 7 MAINTAINER="developer@slitaz.org" |
Hans-G?nter@21782 | 8 LICENSE="GPL2" |
Hans-G?nter@21782 | 9 WEB_SITE="http://furius.ca/xxdiff/" |
Hans-G?nter@21782 | 10 |
pascal@24383 | 11 TARBALL="$PACKAGE-${VERSION//./}.tar.xz" |
Hans-G?nter@21782 | 12 WGET_URL="http://ponce.cc/slackware/sources/repo/$TARBALL" |
Hans-G?nter@21782 | 13 |
Hans-G?nter@21782 | 14 DEPENDS="libQtCore libQtGui" |
Hans-G?nter@21782 | 15 BUILD_DEPENDS="bison flex qmake Qt4-dev" |
Hans-G?nter@21782 | 16 |
pascal@24081 | 17 current_version() |
pascal@24081 | 18 { |
pascal@24081 | 19 wget -O - https://sourceforge.net/projects/xxdiff/files/xxdiff/ 2>/dev/null | \ |
pascal@24081 | 20 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24081 | 21 } |
pascal@24081 | 22 |
Hans-G?nter@21782 | 23 # Rules to configure and make the package. |
Hans-G?nter@21782 | 24 compile_rules() |
Hans-G?nter@21782 | 25 { |
Hans-G?nter@21782 | 26 cd src |
pascal@24081 | 27 patch -p2 < $stuff/bison-3.02.patch |
Hans-G?nter@21782 | 28 make QMAKE=/usr/bin/qmake -f Makefile.bootstrap && |
Hans-G?nter@21782 | 29 make QMAKE=/usr/bin/qmake |
Hans-G?nter@21782 | 30 } |
Hans-G?nter@21782 | 31 |
Hans-G?nter@21782 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@21782 | 33 genpkg_rules() |
Hans-G?nter@21782 | 34 { |
Hans-G?nter@21782 | 35 mkdir -p $fs/usr/bin |
Hans-G?nter@21782 | 36 cp -a $src/bin/xxdiff $fs/usr/bin |
Hans-G?nter@21782 | 37 } |