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,14 +1,18 @@
DESCRIPTION="A small calendar application with reminders. You can use this app to organize your time. The application supports the addition to each day tasks with the appropriate hours and browse all of them. Your job will be saved to a file when the application is closed."
SUMMARY="A small calendar application with reminders."
DESCRIPTION="
A small calendar application with reminders. You can use this app to
organize your time. The application supports the addition to each day
tasks with the appropriate hours and browse all of them. Your job will
be saved to a file when the application is closed."
HOMEPAGE="https://github.com/HaikuArchives/A-Book"
SRC_URI="git+https://github.com/HaikuArchives/A-Book.git"
REVISION="1"
SRC_URI="git+https://github.com/HaikuArchives/A-Book.git#fe6c66c631"
REVISION="2"
COPYRIGHT="2002 Maurice Michalski"
LICENSE="MIT"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
a_book = $portVersion
@@ -19,22 +23,28 @@ REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend
"
PATCHES="a_book-1.1.patchset"
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/A-Book $appsDir
cp -a objects/A-Book $appsDir
addAppDeskbarSymlink $appsDir/A-Book
}