wok rev 25751

fixed recipe for wxHexEditor
author Hans-G?nter Theisgen
date Sat Aug 31 15:45:44 2024 +0100 (7 weeks ago)
parents 506058500799
children 4f8add7c8b10
files wxHexEditor-lang/receipt wxHexEditor/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wxHexEditor-lang/receipt	Sat Aug 31 15:45:44 2024 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="wxHexEditor-lang"
     1.7 +VERSION="0.24"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Hex editor - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://wxhexeditor.org/"
    1.13 +
    1.14 +WANTED="wxHexEditor"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- a/wxHexEditor/receipt	Sat Aug 31 14:32:37 2024 +0100
     2.2 +++ b/wxHexEditor/receipt	Sat Aug 31 15:45:44 2024 +0100
     2.3 @@ -12,8 +12,9 @@
     2.4  SF_PROJECT="wxhexeditor"
     2.5  WGET_URL="$SF_MIRROR/$SF_PROJECT/$TARBALL"
     2.6  
     2.7 -DEPENDS="libgomp wxWidgets"
     2.8 -BUILD_DEPENDS="autoconf automake libffi libtool wxWidgets-dev"
     2.9 +SUGGESTED="wxHexEditor-lang"
    2.10 +DEPENDS="gcc83-lib-base libgomp wxWidgets"
    2.11 +BUILD_DEPENDS="autoconf automake gcc83 libffi libtool wxWidgets-dev"
    2.12  
    2.13  # What is the latest version available today?
    2.14  current_version()
    2.15 @@ -48,12 +49,20 @@
    2.16  	sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" \
    2.17  		Makefile
    2.18  
    2.19 -	make OPTFLAGS="-fopenmp" &&
    2.20 +	sed -i '423s|$|;|'				\
    2.21 +		src/HexDialogs.cpp
    2.22 +	sed -i '67,69s|$|;|'				\
    2.23 +		src/HexEditorCtrl/HexEditorCtrl.cpp
    2.24 +
    2.25 +	export	CFLAGS="$CFLAGS -std=c11"
    2.26 +
    2.27 +	make OPTFLAGS="-fopenmp" CC=gcc-83 CXX=g++-83 &&
    2.28  	make install
    2.29  }
    2.30  
    2.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.32  genpkg_rules()
    2.33  {
    2.34 -	cp -a $install/* $fs
    2.35 +	cook_copy_folders	bin
    2.36 +	cook_copy_folders	pixmaps
    2.37  }