wok-6.x view wxHexEditor/receipt @ rev 23845

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