Files
haikuports/app-editors/hteditor/hteditor-2.1.0.recipe
humdinger 2f912d303d hteditor: avoid putting the binary in /bin/x86 (#5246)
Since there's no gcc2 version, just the x86 built.
2020-08-14 18:11:05 +02:00

63 lines
1.5 KiB
Bash

SUMMARY="A file viewer, editor and analyzer for text, binary, and executable file"
DESCRIPTION="HT is a file editor/viewer/analyzer for executables.
The goal is to combine the low-level functionality of a debugger \
and the usability of IDEs. We plan to implement all (hex-)editing \
features and support of the most important file formats."
HOMEPAGE="http://hte.sourceforge.net/"
COPYRIGHT="1999-2002 Stefan Weyergraf
1999-2002 Sebastian Biallas"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://sourceforge.net/projects/hte/files/ht-source/ht-$portVersion.tar.bz2"
CHECKSUM_SHA256="31f5e8e2ca7f85d40bb18ef518bf1a105a6f602918a0755bc649f3f407b75d70"
SOURCE_DIR="ht-$portVersion"
PATCHES="hteditor-2.1.0.patchset"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
hteditor$secondaryArchSuffix = $portVersion
cmd:ht$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:liblzo2$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:liblzo2$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoheader
cmd:awk
cmd:bison$secondaryArchSuffix
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:makeinfo
"
BUILD()
{
runConfigure ./configure --bindir="$commandBinDir"
make $jobArgs
}
INSTALL()
{
make install
}