wok-current diff wxHexEditor/receipt @ rev 24109

Up xplanet (1.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 09:25:18 2021 +0000 (2021-09-28)
parents affba9aecc73
children 7cfc423aaa00
line diff
     1.1 --- a/wxHexEditor/receipt	Mon Oct 26 02:54:52 2015 +0200
     1.2 +++ b/wxHexEditor/receipt	Tue Sep 28 09:25:18 2021 +0000
     1.3 @@ -1,36 +1,46 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="wxHexEditor"
     1.7 -VERSION="0.21"
     1.8 +VERSION="0.24"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Hex editor for massive files"
    1.11 +SHORT_DESC="Hex editor designed specially for large files."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="http://wxhexeditor.sourceforge.net/"
    1.15 -TARBALL="$PACKAGE-v$VERSION-src.tar.bz2"
    1.16 +WEB_SITE="http://wxhexeditor.org/"
    1.17 +
    1.18 +TARBALL="$PACKAGE-v$VERSION-src.tar.xz"
    1.19  SF_PROJECT="wxhexeditor"
    1.20  WGET_URL="$SF_MIRROR/$SF_PROJECT/$TARBALL"
    1.21  
    1.22 -DEPENDS="libgomp wxWidgets28"
    1.23 -BUILD_DEPENDS="wxWidgets28-dev libffi libtool autoconf automake"
    1.24 +DEPENDS="libgomp wxWidgets"
    1.25 +BUILD_DEPENDS="autoconf automake libffi libtool wxWidgets-dev"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	sed -i 's|^PREFIX\ *= /usr/local|PREFIX = /usr|' $src/makefile
    1.31 -	sed -i 's|^HOST=|HOST = '$HOST_SYSTEM'|' $src/makefile
    1.32 +	sed -i 's|^PREFIX\ *= /usr/local|PREFIX = /usr|' \
    1.33 +		Makefile
    1.34 +	sed -i 's|^HOST=|HOST = '$HOST_SYSTEM'|' \
    1.35 +		Makefile
    1.36  
    1.37  	# don't know why but `backticks` unusable in this makefile
    1.38  	# mhash/configure:14063 say "libtool.m4: error: problem compiling CXX test program"
    1.39  	# mhash/config.log beginning from "configure:13977"
    1.40 -	sed -i "s|^CC =.*|CC = $(wx-config --cc)|" $src/makefile
    1.41 -	sed -i "s|^CXX =.*|CXX = $(wx-config --cxx)|" $src/makefile
    1.42 -	sed -i "s|^CXXFLAGS=.*|CXXFLAGS = $(wx-config --cxxflags) -Iudis86 -Imhash/include -MMD -O2 -c \${OPTFLAGS}|" $src/makefile
    1.43 -	sed -i "s|^LDFLAGS =.*|LDFLAGS = $(wx-config --libs)|" $src/makefile
    1.44 -	sed -i "s|^RC =.*|$(wx-config --rescomp)|" $src/makefile
    1.45 -	sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" $src/makefile
    1.46 +	sed -i "s|^CC =.*|CC = $(wx-config --cc)|" \
    1.47 +		Makefile
    1.48 +	sed -i "s|^CXX =.*|CXX = $(wx-config --cxx)|" \
    1.49 +		Makefile
    1.50 +	sed -i "s|^CXXFLAGS=.*|CXXFLAGS = $(wx-config --cxxflags) -Iudis86 -Imhash/include -MMD -O2 -c \${OPTFLAGS}|" \
    1.51 +		Makefile
    1.52 +	sed -i "s|^LDFLAGS =.*|LDFLAGS = $(wx-config --libs)|" \
    1.53 +		Makefile
    1.54 +	sed -i "s|^RC =.*|$(wx-config --rescomp)|" \
    1.55 +		Makefile
    1.56 +	sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" \
    1.57 +		Makefile
    1.58  
    1.59 -	make OPTFLAGS="-fopenmp" && make install
    1.60 +	make OPTFLAGS="-fopenmp" &&
    1.61 +	make install
    1.62  }
    1.63  
    1.64  # Rules to gen a SliTaz package suitable for Tazpkg.