Files
haikuports/app-emulation/libspectrum/libspectrum-1.1.1.recipe
Chris Moore ffe548bd1d libspectrum and fuse: Build fixes for x86_64 and x86_gcc2 (#1547)
* Add x86_64 and fix to declare libgcrypt as requirement

* Correct libpng dependency; Modified recipe and patch to enable x86_64 build
2017-08-02 19:34:44 -04:00

63 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 x86_64"
PROVIDES="
libspectrum = $portVersion
lib:libspectrum = 8.1.0 compat >= 8
"
REQUIRES="
haiku
lib:libbz2
lib:libz
lib:libgcrypt
"
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
}