0
0
Fork 0
haikuports/app-emulation/oricutron/oricutron-1.2.1.recipe

47 lines
1019 B
Bash

SUMMARY="An emulator for the Oric series of computers"
DESCRIPTION="Oricutron is an emulator for the Oric series of computers."
HOMEPAGE="https://github.com/pete-gordon/oricutron/"
COPYRIGHT="2009-2012 Peter Gordon"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/pete-gordon/oricutron/archive/V1_2_1.tar.gz"
CHECKSUM_SHA256="c4bf6570cf9571baec917ee1df8b5f44d5641c9334cc32af0472809a4cca4a7d"
SOURCE_DIR="oricutron-1_2_1"
ARCHITECTURES="?all"
PROVIDES="
oricutron = $portVersion
app:oricutron = $portVersion
cmd:oricutron = $portVersion
"
REQUIRES="
haiku
lib:libGL
lib:libsdl
"
BUILD_REQUIRES="
haiku_devel
devel:libGL
devel:libsdl
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:sdl_config
"
BUILD()
{
make INSTALLDIR=$prefix/apps/Oricutron
}
INSTALL()
{
make install INSTALLDIR=$prefix/apps/Oricutron
mimeset $prefix/apps/Oricutron/oricutron
mkdir $binDir
ln -s $prefix/apps/Oricutron/oricutron $binDir/oricutron
addAppDeskbarSymlink $prefix/apps/Oricutron/oricutron Oricutron
}