wok-current view wxHexEditor/receipt @ rev 18545
Add: get-vivaldi, kazehakase. Up: firefox-official(42.0). Misc: change various icons.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 07 03:08:19 2015 +0200 (2015-11-07) |
parents | 934d6099191f |
children | 83981c141996 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wxHexEditor"
4 VERSION="0.21"
5 CATEGORY="development"
6 SHORT_DESC="Hex editor for massive files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://wxhexeditor.sourceforge.net/"
10 TARBALL="$PACKAGE-v$VERSION-src.tar.bz2"
11 SF_PROJECT="wxhexeditor"
12 WGET_URL="$SF_MIRROR/$SF_PROJECT/$TARBALL"
14 DEPENDS="libgomp wxWidgets28"
15 BUILD_DEPENDS="wxWidgets28-dev libffi libtool autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|^PREFIX\ *= /usr/local|PREFIX = /usr|' $src/makefile
21 sed -i 's|^HOST=|HOST = '$HOST_SYSTEM'|' $src/makefile
23 # don't know why but `backticks` unusable in this makefile
24 # mhash/configure:14063 say "libtool.m4: error: problem compiling CXX test program"
25 # mhash/config.log beginning from "configure:13977"
26 sed -i "s|^CC =.*|CC = $(wx-config --cc)|" $src/makefile
27 sed -i "s|^CXX =.*|CXX = $(wx-config --cxx)|" $src/makefile
28 sed -i "s|^CXXFLAGS=.*|CXXFLAGS = $(wx-config --cxxflags) -Iudis86 -Imhash/include -MMD -O2 -c \${OPTFLAGS}|" $src/makefile
29 sed -i "s|^LDFLAGS =.*|LDFLAGS = $(wx-config --libs)|" $src/makefile
30 sed -i "s|^RC =.*|$(wx-config --rescomp)|" $src/makefile
31 sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" $src/makefile
33 make OPTFLAGS="-fopenmp" && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }