From 66ff7b2ed2aa299e2bcc5f7f5fd48b85670387ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 8 Dec 2013 23:44:57 +0100 Subject: [PATCH] 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 --- .../oricutron/oricutron-0.9_svn.recipe | 22 --------- .../oricutron/oricutron-1.1_svn.recipe | 48 +++++++++++++++++++ 2 files changed, 48 insertions(+), 22 deletions(-) delete mode 100644 app-emulation/oricutron/oricutron-0.9_svn.recipe create mode 100644 app-emulation/oricutron/oricutron-1.1_svn.recipe diff --git a/app-emulation/oricutron/oricutron-0.9_svn.recipe b/app-emulation/oricutron/oricutron-0.9_svn.recipe deleted file mode 100644 index ca7088f5b..000000000 --- a/app-emulation/oricutron/oricutron-0.9_svn.recipe +++ /dev/null @@ -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" diff --git a/app-emulation/oricutron/oricutron-1.1_svn.recipe b/app-emulation/oricutron/oricutron-1.1_svn.recipe new file mode 100644 index 000000000..b029ea0d5 --- /dev/null +++ b/app-emulation/oricutron/oricutron-1.1_svn.recipe @@ -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 +} +