63 lines
1.5 KiB
Bash
63 lines
1.5 KiB
Bash
SUMMARY="CPLD based USB HxC Floppy Emulator HAL library"
|
|
DESCRIPTION="The USB HxC floppy emulator is a device that connects to a modern
|
|
computer with USB on one side and emulates a Shugart floppy drive on the other
|
|
side. It allows transferring files from and to old computers in a simple way
|
|
and without using obsolete storage media."
|
|
HOMEPAGE="https://hxc2001.com"
|
|
COPYRIGHT="2006-2016 JEan-François Del Nero"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/jfdelnero/libusbhxcfe/archive/libusbhxcfe_V2_0_0_4.tar.gz"
|
|
CHECKSUM_SHA256="41c16f6539ec6cd6da6c76c94945092d440be4870ff81f308e946e6dfe10e866"
|
|
SOURCE_DIR="libusbhxcfe-libusbhxcfe_V2_0_0_4"
|
|
PATCHES="libusbhxcfe-2.0.0.4.patchset"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libusbhxcfe$secondaryArchSuffix = $portVersion
|
|
lib:libusbhxcfe$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libusbhxcfe${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libusbhxcfe$secondaryArchSuffix
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libusbhxcfe$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libhxcfe$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd build
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
mkdir -p $includeDir
|
|
|
|
cp build/*.so $libDir
|
|
cp sources/*.h $includeDir
|
|
|
|
prepareInstalledDevelLibs \
|
|
libusbhxcfe
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|