Merged in 5HT/haikuports (pull request #145)

Haiku Chat fixes and MC 4.8.11 new recipe
This commit is contained in:
Adrien Destugues
2014-01-19 14:39:12 +01:00
3 changed files with 86 additions and 8 deletions

View File

@@ -9,13 +9,13 @@ DESCRIPTION="
HOMEPAGE="http://synrc.com/client/chat/haiku/"
SRC_URI="git+https://github.com/devaspot/chat.git"
LICENSE="MIT"
COPYRIGHT="2012 Maxim Sokhatsky"
REVISION="1"
COPYRIGHT="2010-2014 Maxim Sokhatsky"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
chat = $portVersion
app:chat = $portVersion
Chat = $portVersion
app:Chat = $portVersion
"
REQUIRES="
@@ -35,18 +35,18 @@ BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:which
cmd:mkdepend
"
BUILD()
{
{
cd src
make -f Makefile.gcc2 BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
chmod 755 Chat
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` make
}
INSTALL()
{
mkdir -p $appsDir
cp src/Chat $appsDir/Chat
cp src/objects.x86-gcc2-release/Chat $appsDir/Chat
addAppDeskbarSymlink $appsDir/Chat "Chat"
}