0
0
Fork 0
haikuports/sys-block/hxcfloppyemulator_cmdline/hxcfloppyemulator_cmdline-2...

48 lines
1.2 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-2016 Jean-François Del Nero"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/jfdelnero/HxCFloppyEmulator_cmdline/archive/HxCFloppyEmulator_cmdline_V2_0_0_0.tar.gz"
CHECKSUM_SHA256="db022b6c280b515c5c413903d885caa48097d67347eda017341beef8859e097b"
SOURCE_DIR="HxCFloppyEmulator_cmdline-HxCFloppyEmulator_cmdline_V2_0_0_0"
PATCHES="hxcfloppyemulator_cmdline-2.0.0.0.patchset"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
hxcfloppyemulator_cmdline$secondaryArchSuffix = $portVersion
cmd:hxcfe$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libhxcfe$secondaryArchSuffix
lib:libusbhxcfe$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libhxcfe$secondaryArchSuffix
devel:libusbhxcfe$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd build
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp build/hxcfe $binDir
}