mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 03:00:05 +02:00
* Add x86_64 and fix to declare libgcrypt as requirement * Correct libpng dependency; Modified recipe and patch to enable x86_64 build
63 lines
1.3 KiB
Bash
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
|
|
}
|