wok diff xxdiff/receipt @ rev 24155

linld : fix lm detection
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 06 16:44:52 2021 +0000 (2021-12-06)
parents 505527cf814f
children 076f424196b2
line diff
     1.1 --- a/xxdiff/receipt	Fri Jul 09 15:56:16 2021 +0000
     1.2 +++ b/xxdiff/receipt	Mon Dec 06 16:44:52 2021 +0000
     1.3 @@ -14,11 +14,17 @@
     1.4  DEPENDS="libQtCore libQtGui"
     1.5  BUILD_DEPENDS="bison flex qmake Qt4-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/xxdiff/files/xxdiff/ 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	patch -p1 < $stuff/bison-3.02.patch
    1.17  	cd	src
    1.18 +	patch -p2 < $stuff/bison-3.02.patch
    1.19  	make QMAKE=/usr/bin/qmake -f Makefile.bootstrap &&
    1.20  	make QMAKE=/usr/bin/qmake
    1.21  }