Overhaul the haiku-apps directory

* Fixed PROVIDES/*REQUIRES entries
* Added vcs hashes to the ports needing it in the SRC_URI
* Made single executable apps install to the top level $appsDir
* Added patches for gcc4 versions of most apps
* Added patches for apps that couldn't build on any arch
   ( even though they were marked as working :( )
* Other misc fixes that I've forgotten already because I'm sick of
  looking at this directory
This commit is contained in:
Chris Roberts
2013-12-02 20:48:05 -07:00
parent 664e3c050d
commit 8a30e59744
38 changed files with 1381 additions and 643 deletions

View File

@@ -1,41 +1,49 @@
DESCRIPTION="The JamMin manages your jamfiles.
Jamfiles are the thing that is most important to the user, bacause they declare the targets that should be built. Jamfiles are also used for organizing targets— each Jamfile is a separate project that can be built independently from the other projects."
Jamfiles are the thing that is most important to the user, bacause
they declare the targets that should be built. Jamfiles are also used
for organizing targets— each Jamfile is a separate project that can be
built independently from the other projects."
SUMMARY="The Jamfile Administrator"
HOMEPAGE="https://github.com/HaikuArchives/JamMin"
SRC_URI="git+https://github.com/HaikuArchives/JamMin.git"
REVISION="1"
SRC_URI="git+https://github.com/HaikuArchives/JamMin.git#681e87d6d4"
REVISION="2"
COPYRIGHT="2003 Guido Casiraghi"
LICENSE="MIT"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
JamMin = $portVersion
app:JamMin = $portVersion"
app:JamMin = $portVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend"
cmd:mkdepend
"
REQUIRES="
haiku >= $haikuVersion"
haiku >= $haikuVersion
"
PATCHES="jampatch-1.patch"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
mkdir -p $appsDir
cp objects.x86-gcc2-release/JamApp $appsDir
cp objects/JamApp $appsDir
addAppDeskbarSymlink $appsDir/JamApp
}