# HG changeset patch # User Hans-G?nter Theisgen # Date 1572969463 -3600 # Node ID 83981c141996e967238f2334de75929b4ac9346c # Parent 62e4ac2cce2ee96557f29a1612d90ab1e22cc172 updated wxHexEditor (0.21 -> 0.24) diff -r 62e4ac2cce2e -r 83981c141996 wxHexEditor/receipt --- a/wxHexEditor/receipt Tue Nov 05 14:52:19 2019 +0100 +++ b/wxHexEditor/receipt Tue Nov 05 16:57:43 2019 +0100 @@ -1,36 +1,46 @@ # SliTaz package receipt. PACKAGE="wxHexEditor" -VERSION="0.21" +VERSION="0.24" CATEGORY="development" -SHORT_DESC="Hex editor for massive files" +SHORT_DESC="Hex editor designed specially for large files." MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL" -WEB_SITE="http://wxhexeditor.sourceforge.net/" -TARBALL="$PACKAGE-v$VERSION-src.tar.bz2" +WEB_SITE="http://wxhexeditor.org/" + +TARBALL="$PACKAGE-v$VERSION-src.tar.xz" SF_PROJECT="wxhexeditor" WGET_URL="$SF_MIRROR/$SF_PROJECT/$TARBALL" -DEPENDS="libgomp wxWidgets28" -BUILD_DEPENDS="wxWidgets28-dev libffi libtool autoconf automake" +DEPENDS="libgomp wxWidgets" +BUILD_DEPENDS="autoconf automake libffi libtool wxWidgets-dev" # Rules to configure and make the package. compile_rules() { - sed -i 's|^PREFIX\ *= /usr/local|PREFIX = /usr|' $src/makefile - sed -i 's|^HOST=|HOST = '$HOST_SYSTEM'|' $src/makefile + sed -i 's|^PREFIX\ *= /usr/local|PREFIX = /usr|' \ + Makefile + sed -i 's|^HOST=|HOST = '$HOST_SYSTEM'|' \ + Makefile # don't know why but `backticks` unusable in this makefile # mhash/configure:14063 say "libtool.m4: error: problem compiling CXX test program" # mhash/config.log beginning from "configure:13977" - sed -i "s|^CC =.*|CC = $(wx-config --cc)|" $src/makefile - sed -i "s|^CXX =.*|CXX = $(wx-config --cxx)|" $src/makefile - sed -i "s|^CXXFLAGS=.*|CXXFLAGS = $(wx-config --cxxflags) -Iudis86 -Imhash/include -MMD -O2 -c \${OPTFLAGS}|" $src/makefile - sed -i "s|^LDFLAGS =.*|LDFLAGS = $(wx-config --libs)|" $src/makefile - sed -i "s|^RC =.*|$(wx-config --rescomp)|" $src/makefile - sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" $src/makefile + sed -i "s|^CC =.*|CC = $(wx-config --cc)|" \ + Makefile + sed -i "s|^CXX =.*|CXX = $(wx-config --cxx)|" \ + Makefile + sed -i "s|^CXXFLAGS=.*|CXXFLAGS = $(wx-config --cxxflags) -Iudis86 -Imhash/include -MMD -O2 -c \${OPTFLAGS}|" \ + Makefile + sed -i "s|^LDFLAGS =.*|LDFLAGS = $(wx-config --libs)|" \ + Makefile + sed -i "s|^RC =.*|$(wx-config --rescomp)|" \ + Makefile + sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" \ + Makefile - make OPTFLAGS="-fopenmp" && make install + make OPTFLAGS="-fopenmp" && + make install } # Rules to gen a SliTaz package suitable for Tazpkg.