mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 08:40:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
85 lines
2.3 KiB
Bash
85 lines
2.3 KiB
Bash
SUMMARY="ZX Spectrum emulator utilities"
|
|
DESCRIPTION="Several tools to manage files in ZX spectrum emulator formats:
|
|
disk and tape images, machine state snapshots, and a few other things."
|
|
HOMEPAGE="http://fuse-emulator.sourceforge.net/fuse.php"
|
|
COPYRIGHT="2003-2018 Philip Kendall and FUSE contributors"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/projects/fuse-emulator/files/fuse-utils/$portVersion/fuse-utils-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="0d2588bc37fcc6b039010c9ed68aa1e0bf513a80978737b5545f1d4f1684c325"
|
|
SOURCE_DIR="fuse-utils-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
fuse_utils$secondaryArchSuffix = $portVersion
|
|
cmd:createhdf$commandSuffix
|
|
cmd:fmfconv$commandSuffix
|
|
cmd:listbasic$commandSuffix
|
|
cmd:profile2map$commandSuffix
|
|
cmd:raw2hdf$commandSuffix
|
|
cmd:rzxdump$commandSuffix
|
|
cmd:rzxcheck$commandSuffix
|
|
cmd:rzxtool$commandSuffix
|
|
cmd:scl2trd$commandSuffix
|
|
cmd:snap2tzx$commandSuffix
|
|
cmd:snapconv$commandSuffix
|
|
cmd:snapdump$commandSuffix
|
|
cmd:tape2pulses$commandSuffix
|
|
cmd:tapeconv$commandSuffix
|
|
cmd:tzxlist$commandSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libavcodec$secondaryArchSuffix
|
|
lib:libavformat$secondaryArchSuffix
|
|
lib:libavutil$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libspectrum$secondaryArchSuffix
|
|
lib:libswscale$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libavformat$secondaryArchSuffix
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libspectrum$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|