Files
haikuports/sys-block/hxcfloppyemulator/hxcfloppyemulator-2.15.2.3.recipe
2025-08-06 14:59:26 +00:00

55 lines
1.4 KiB
Bash

SUMMARY="Command-line tools for the HxC floppy emulator"
DESCRIPTION="Tools for manipulating and converting floppy disk images in the
HFE format used by the HxC floppy emulator, and driving the USB version of the
emulator."
HOMEPAGE="https://hxc2001.com/"
COPYRIGHT="2006-2024 Jean-François Del Nero"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="https://github.com/jfdelnero/HxCFloppyEmulator/archive/refs/tags/HxCFloppyEmulator_V2_15_2_3.tar.gz"
CHECKSUM_SHA256="0e402ff14caf818d44152193ee19017abb19846cda505f5138c2d44fdaa8a581"
SOURCE_DIR="HxCFloppyEmulator-HxCFloppyEmulator_V2_15_2_3"
PATCHES="hxcfloppyemulator-2.15.2.3.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
hxcfloppyemulator$secondaryArchSuffix = $portVersion
cmd:hxcfe$secondaryArchSuffix
cmd:hxcfloppyemulator$secondaryArchSuffix
lib:libhxcfe$secondaryArchSuffix
lib:libusbhxcfe$secondaryArchSuffix
devel:libhxcfe$secondaryArchSuffix
devel:libusbhxcfe$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfltk$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfltk$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd build
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $libDir
cp build/hxcfe build/hxcfloppyemulator $binDir
cp build/*.so $libDir
prepareInstalledDevelLibs libhxcfe libusbhxcfe
}