Files
haikuports/app-emulation/libspectrum/libspectrum-1.1.1.recipe
Adrien Destugues 96c1fe7f67 FUSE: fixes and adjustments
- Wrong name was used for patchset
- Use https URLs from sourceforge to save one redirect
- gcc2 build fix at the proper place (previously a generated file had
  been modified).

Thanks to Sergio Baldovi for contributing those.
2016-03-26 17:44:16 +01:00

62 lines
1.3 KiB
Bash

SUMMARY="Emulator support library"
DESCRIPTION="Library designed to make the input and output of some ZX Spectrum \
emulator files slightly easier. It is intended to be usable on Unix variants, \
Win32 and Mac OS X. Currently, it is mainly (only?) used by Fuse, but other \
Spectrum emulator and utility authors are encouraged to use it."
HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
COPYRIGHT="2003-2013 Philip Kendall and libspectrum contributors"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://sourceforge.net/projects/fuse-emulator/files/libspectrum/1.1.1/libspectrum-1.1.1.tar.gz"
CHECKSUM_SHA256="178d3607af2109b6b8dafac4f91912745b9f3c087319945c3a886bb7fe7989d5"
PATCHES="libspectrum-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
libspectrum = $portVersion
lib:libspectrum = 8.1.0 compat >= 8
"
REQUIRES="
haiku
lib:libbz2
lib:libz
"
PROVIDES_devel="
libspectrum_devel = $portVersion
devel:libspectrum = 8.1.0 compat >= 8
"
REQUIRES_devel="
libspectrum == $portVersion base
"
BUILD_REQUIRES="
haiku_devel
devel:libbz2
devel:libgcrypt
devel:libz
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc
cmd:make
cmd:perl
cmd:pkg_config
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLib libspectrum
packageEntries devel $developDir
}