mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
68 lines
1.8 KiB
Bash
68 lines
1.8 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-2018 Philip Kendall and libspectrum contributors"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://sourceforge.net/projects/fuse-emulator/files/libspectrum/$portVersion/libspectrum-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="fdfb2b2bad17bcfc98c098deaebf2a9811824b08d525172436d5eb134c9780b1"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libspectrum$secondaryArchSuffix = $portVersion
|
|
lib:libspectrum$secondaryArchSuffix = 8.8.14 compat >= 8
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libaudiofile$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libgcrypt$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libspectrum${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libspectrum$secondaryArchSuffix = 8.8.14 compat >= 8
|
|
"
|
|
REQUIRES_devel="
|
|
libspectrum$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libaudiofile$secondaryArchSuffix
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libgcrypt$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/*.la
|
|
prepareInstalledDevelLib libspectrum
|
|
fixPkgconfig
|
|
packageEntries devel $developDir
|
|
}
|