Files
haikuports/app-emulation/libspectrum/libspectrum-1.1.1.recipe
2015-07-02 11:13:12 -04:00

67 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."
REVISION="1"
HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
LICENSE="GNU GPL v2"
ARCHITECTURES="x86_gcc2"
COPYRIGHT="2003-2013 Philip Kendall and libspectrum contributors"
SOURCE_URI="http://sourceforge.net/projects/fuse-emulator/files/libspectrum/1.1.1/libspectrum-1.1.1.tar.gz"
CHECKSUM_SHA256="178d3607af2109b6b8dafac4f91912745b9f3c087319945c3a886bb7fe7989d5"
PATCHES="libspectrum-$portVersion.patchset"
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
}