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,38 +1,40 @@
DESCRIPTION="backup - A backup application for Haiku"
DESCRIPTION="A backup application for Haiku"
SUMMARY="A backup application for Haiku"
COPYRIGHT="2013 Alexander von Gluck IV"
LICENSE="MIT"
HOMEPAGE="https://github.com/kallisti5/backup"
SRC_URI="git+https://github.com/kallisti5/backup"
REVISION="1"
SRC_URI="git+https://github.com/kallisti5/backup#34e156f64d"
REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
backup = $portVersion
app:backup = $portVersion
"
BUILD_PREREQUIRES="
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
cmd:mkdepend"
cmd:mkdepend
"
PATCHES="backup-0.0.1.patch"
COPYRIGHT="2013 Alexander von Gluck IV"
LICENSE="MIT"
BUILD()
{
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
architecture=$(echo $buildArchitecture | sed 's/_/-/g')
mkdir -p $appsDir
cp objects.$architecture-release/backup $appsDir/Backup
cp objects/backup $appsDir/Backup
addAppDeskbarSymlink $appsDir/Backup
}