Merge branch 'master' of https://bitbucket.org/tweakdeveloper/haikuports into coveredcalc

This commit is contained in:
Nolan Clark
2014-12-06 12:53:25 -06:00
9 changed files with 185 additions and 77 deletions

View File

@@ -0,0 +1,46 @@
SUMMARY="Graphical RSRC resource editor"
DESCRIPTION="An editor for binary resource files (.rsrc) that get compiled \
into an application and can then be used within the application."
HOMEPAGE="https://github.com/HaikuArchives/ResourceEdit"
LICENSE="MIT"
COPYRIGHT="2012-2013 Tri-Edge AI"
SRC_URI="https://github.com/HaikuArchives/ResourceEdit/archive/8c3f779d08525ed1e607627213278436a0502125.tar.gz"
CHECKSUM_SHA256="848b4e6d8a30737793d858d95360d33219efa615635b0b79c845bc4b78f6a64b"
SOURCE_DIR="ResourceEdit-8c3f779d08525ed1e607627213278436a0502125"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
resourceedit = $portVersion
app:ResourceEdit = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:ld
cmd:make
cmd:mkdepend
"
BUILD()
{
cd source
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
cd source
mkdir -p $appsDir
cp objects/ResourceEdit $appsDir
addAppDeskbarSymlink $appsDir/ResourceEdit
}

View File

@@ -1,52 +0,0 @@
DESCRIPTION="
This is an editor for resource files (.rsrc), binary files that get compiled \
into an application and can then be accessed by that application.
"
SUMMARY="Resource editor"
HOMEPAGE="https://github.com/HaikuArchives/ResourceEdit"
LICENSE="MIT"
COPYRIGHT="2012-2013 Tri-Edge AI"
SRC_URI="git+https://github.com/HaikuArchives/ResourceEdit.git#1873c33591e2d2ccb3dccb692c175e9f10a0e450"
REVISION="1"
ARCHITECTURES="!x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="!x86"
PROVIDES="
resourceedit$secondaryArchSuffix = $portVersion
app:ResourceEdit = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
BUILD()
{
make
}
INSTALL()
{
# supports "x86" architecture only
mkdir $appsDir
cp objects.x86-gcc4-release/ResourceEdit $appsDir
addAppDeskbarSymlink $appsDir/ResourceEdit
}

View File

@@ -0,0 +1,47 @@
SUMMARY="TimeCop helps you collect statistics about your computer working"
DESCRIPTION="
You want to know, how much time you spend in front of your computer?
You want to know, how often your computer crashes?
So you can use TimeCop to write a protocol of your computer sessions.
"
HOMEPAGE="http://www.augusta.de/michael/BeOS/TimeCop/index.us.html"
SRC_URI="git://github.com/HaikuArchives/TimeCop.git#ee79c42895"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="Copyright Michael Pieper"
ARCHITECTURES="x86_gcc2 x86 !ppc"
CHECKSUM_SHA256="d384c22c8768298fb1d9ea60fbdb8e7f7e440c00bae44c37e7507f20c4fe6a94"
REQUIRES="
haiku >= $haikuVersion
"
PROVIDES="
cmd:TimeCop_daemon = $portVersion
app:TimeCop = $portVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p $binDir
mkdir -p $appsDir
cp -a $sourceDir/bin/TimeCop_daemon $binDir/TimeCop_daemon
cp -a $sourceDir/bin/TimeCop $appsDir/TimeCop
addAppDeskbarSymlink $appsDir/TimeCop
}