Files
haikuports/haiku-apps/paladin/paladin-1.4~git.recipe
2018-08-09 11:26:07 +02:00

81 lines
2.1 KiB
Bash

SUMMARY="An open source integrated development environment (IDE)"
DESCRIPTION="Paladin is an open source integrated development environment (IDE) \
modeled after BeOS' BeIDE.
Paladin's feature set includes:
- Command-line build support
- Multithreaded builds
- Revision control-friendly project files
- More run options for projects
- Explicit support for debugging with gdb under Haiku
- Bundled helper tools
- Streamlined project settings
- Out-of-the-box support for Lex and Yacc
- Support for text and binary resource files
- Projects can include notes and other files that aren't source code
- Project templates
- Out-of-the-box makefile generation
- Integrated source code management
- 1-click project backups"
HOMEPAGE="https://github.com/HaikuArchives/Paladin"
COPYRIGHT="2001-2010 DarkWyrm
2014 John Scipione"
LICENSE="MIT"
REVISION="4"
srcGitRev="c480d7107bfd01dae302fd6e13098aeccec22548"
SOURCE_URI="https://github.com/HaikuArchives/Paladin/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="3f071bae6960581fdd744a171402d359b8d89b8f83c5d39980f4cea31f2c2d3f"
SOURCE_DIR="Paladin-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
USER_SETTINGS_FILES="settings/Paladin_settings"
PROVIDES="
paladin$secondaryArchSuffix = $portVersion
app:Paladin$secondaryArchSuffix
app:SymbolFinder$secondaryArchSuffix
cmd:luagrep
cmd:luare
"
REQUIRES="
haiku$secondaryArchSuffix
cmd:lua
lib:libpcre$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libpcre$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
makefile_engine
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
./buildsuite.sh $jobs
}
INSTALL()
{
mkdir -p $appsDir/Paladin $appsDir/Paladin/Documentation
mkdir -p $binDir
cp -r Documentation $appsDir/Paladin
rm $appsDir/Paladin/Documentation/KeltFont.zip
cp -r Paladin/Paladin Paladin/Templates $appsDir/Paladin/
cp SymbolFinder/SymbolFinder $appsDir/Paladin/
cp luagrep luare $binDir
addAppDeskbarSymlink $appsDir/Paladin/Paladin Paladin
}