wok-current annotate xxdiff/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (11 days ago) |
parents | 076f424196b2 |
children |
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" |
pascal@25540 | 9 WEB_SITE="https://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 } |