63 lines
1.4 KiB
Bash
63 lines
1.4 KiB
Bash
SUMMARY="Atari Running on Any Machine"
|
|
DESCRIPTION="ARAnyM (Atari Running on Any Machine) is a multiplatform virtual \
|
|
machine for running Atari ST/TT/Falcon operating systems and applications."
|
|
HOMEPAGE="https://aranym.github.io/"
|
|
COPYRIGHT="2001-2014 ARAnyM developer team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/aranym/aranym/archive/ARANYM_${portVersion//./_}.tar.gz"
|
|
CHECKSUM_SHA256="1636cf9ec68bd2089f537e3b5e82d04fafec61a4f8fb5e216a263d357e935b63"
|
|
SOURCE_FILENAME="anarym-$portVersion.tar.gz"
|
|
SOURCE_DIR="aranym-ARANYM_${portVersion//./_}"
|
|
PATCHES="aranym-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
|
|
PROVIDES="
|
|
aranym = $portVersion
|
|
app:ARAnyM = $portVersion
|
|
cmd:aranym = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libsdl
|
|
lib:libsdl_image
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libsdl
|
|
devel:libSDL_image
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
WITHDISDIP=""
|
|
if [ $effectiveTargetArchitecture == x86_gcc2 ]; then
|
|
WITHDISDIP="--enable-disdip"
|
|
fi
|
|
|
|
NO_CONFIGURE=1 ./autogen.sh
|
|
|
|
export CXXFLAGS="$CXXFLAGS -Wno-unused-function -Wno-unused-variable"
|
|
export CFLAGS="$CFLAGS -Wno-unused-function -Wno-unused-variable"
|
|
runConfigure ./configure --enable-fpe=uae --enable-cxx-exceptions $WITHDISDIP
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $docDir
|
|
|
|
make install
|
|
|
|
mimeset $prefix/bin/aranym
|
|
addAppDeskbarSymlink /bin/aranym ARAnyM
|
|
}
|