wok annotate wxHexEditor/receipt @ rev 22973
updated jpeg-turbo, libjpeg-turbo and libjpeg-turbo-dev (1.4.2 -> 2.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 29 15:06:29 2020 +0100 (2020-02-29) |
parents | affba9aecc73 |
children | 7cfc423aaa00 |
rev | line source |
---|---|
al@13960 | 1 # SliTaz package receipt. |
al@13960 | 2 |
al@13960 | 3 PACKAGE="wxHexEditor" |
Hans-G?nter@22142 | 4 VERSION="0.24" |
al@13960 | 5 CATEGORY="development" |
Hans-G?nter@22142 | 6 SHORT_DESC="Hex editor designed specially for large files." |
al@13960 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@13960 | 8 LICENSE="GPL" |
Hans-G?nter@22142 | 9 WEB_SITE="http://wxhexeditor.org/" |
Hans-G?nter@22142 | 10 |
Hans-G?nter@22142 | 11 TARBALL="$PACKAGE-v$VERSION-src.tar.xz" |
al@13960 | 12 SF_PROJECT="wxhexeditor" |
al@13960 | 13 WGET_URL="$SF_MIRROR/$SF_PROJECT/$TARBALL" |
al@13960 | 14 |
Hans-G?nter@22142 | 15 DEPENDS="libgomp wxWidgets" |
Hans-G?nter@22142 | 16 BUILD_DEPENDS="autoconf automake libffi libtool wxWidgets-dev" |
al@13960 | 17 |
al@13960 | 18 # Rules to configure and make the package. |
al@13960 | 19 compile_rules() |
al@13960 | 20 { |
Hans-G?nter@22142 | 21 sed -i 's|^PREFIX\ *= /usr/local|PREFIX = /usr|' \ |
Hans-G?nter@22142 | 22 Makefile |
Hans-G?nter@22142 | 23 sed -i 's|^HOST=|HOST = '$HOST_SYSTEM'|' \ |
Hans-G?nter@22142 | 24 Makefile |
al@13960 | 25 |
al@13960 | 26 # don't know why but `backticks` unusable in this makefile |
al@13960 | 27 # mhash/configure:14063 say "libtool.m4: error: problem compiling CXX test program" |
al@13960 | 28 # mhash/config.log beginning from "configure:13977" |
Hans-G?nter@22142 | 29 sed -i "s|^CC =.*|CC = $(wx-config --cc)|" \ |
Hans-G?nter@22142 | 30 Makefile |
Hans-G?nter@22142 | 31 sed -i "s|^CXX =.*|CXX = $(wx-config --cxx)|" \ |
Hans-G?nter@22142 | 32 Makefile |
Hans-G?nter@22142 | 33 sed -i "s|^CXXFLAGS=.*|CXXFLAGS = $(wx-config --cxxflags) -Iudis86 -Imhash/include -MMD -O2 -c \${OPTFLAGS}|" \ |
Hans-G?nter@22142 | 34 Makefile |
Hans-G?nter@22142 | 35 sed -i "s|^LDFLAGS =.*|LDFLAGS = $(wx-config --libs)|" \ |
Hans-G?nter@22142 | 36 Makefile |
Hans-G?nter@22142 | 37 sed -i "s|^RC =.*|$(wx-config --rescomp)|" \ |
Hans-G?nter@22142 | 38 Makefile |
Hans-G?nter@22142 | 39 sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" \ |
Hans-G?nter@22142 | 40 Makefile |
al@13960 | 41 |
Hans-G?nter@22142 | 42 make OPTFLAGS="-fopenmp" && |
Hans-G?nter@22142 | 43 make install |
al@13960 | 44 } |
al@13960 | 45 |
al@13960 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13960 | 47 genpkg_rules() |
al@13960 | 48 { |
al@13960 | 49 cp -a $install/* $fs |
al@13960 | 50 } |