0
0
Fork 0
haikuports/app-emulation/oricutron/oricutron-1.1_svn.recipe

46 lines
964 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="svn+http://oriculator.googlecode.com/svn/trunk"
SOURCE_DIR="trunk"
DEPEND="media-libs/libsdl >= 1.2.10"
ARCHITECTURES="?all"
PROVIDES="
oricutron = $portVersion
app:oricutron = $portVersion
cmd:oricutron = $portVersion
"
REQUIRES="
haiku
libsdl
"
BUILD_REQUIRES="
haiku_devel
devel:libsdl_1.2 >= 0.10
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:sdl_config
"
#FIXME: Makefile uses svnversion to get the revision...
# subversion >= 1.6.18
# cmd:svnversion >= 1.6.18
BUILD()
{
make INSTALLDIR=$prefix/apps/Oricutron
}
INSTALL()
{
make install INSTALLDIR=$prefix/apps/Oricutron
mimeset $prefix/apps/Oricutron/oricutron
addAppDeskbarSymlink $prefix/apps/Oricutron/oricutron Oricutron
}