Fix and update the Oricutron recipe

Note the makefile is supposed to get the svn revision, but I can't get
svnrevision to be either compiled or taken from my already installed
package, plus I suppose since we actually make a git repo from the
source it wouldn't work anyway... FIXME
This commit is contained in:
François Revol
2013-12-08 23:44:57 +01:00
parent cd1ac560ff
commit 66ff7b2ed2
2 changed files with 48 additions and 22 deletions

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Oricutron is an emulator for the Oric series of computers."
HOMEPAGE="http://code.google.com/p/oriculator/"
SRC_URI="svn://http://oriculator.googlecode.com/svn/trunk"
REVISION="1"
STATUS_HAIKU="untested"
DEPEND="media-libs/libsdl >= 1.2.10"
#CHECKSUM_MD5=""
BUILD()
{
cd trunk
make
}
INSTALL()
{
cd trunk
make install
}
COPYRIGHT="2009-2012 Peter Gordon"
LICENSE="GNU GPL v2"

View File

@@ -0,0 +1,48 @@
SUMMARY="Oricutron is an emulator for the Oric series of computers."
DESCRIPTION="Oricutron is an emulator for the Oric series of computers."
HOMEPAGE="http://code.google.com/p/oriculator/"
SRC_URI="svn+http://oriculator.googlecode.com/svn/trunk"
REVISION="1"
DEPEND="media-libs/libsdl >= 1.2.10"
#CHECKSUM_MD5=""
COPYRIGHT="2009-2012 Peter Gordon"
LICENSE="GNU GPL v2"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
SOURCE_DIR="trunk"
PROVIDES="
oricutron = $portVersion
app:oricutron = $portVersion
cmd:oricutron = $portVersion
"
REQUIRES="
haiku
libsdl
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
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
}