mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
koder: add recipe
This commit is contained in:
57
haiku-apps/koder/koder-0.1.0.recipe
Normal file
57
haiku-apps/koder/koder-0.1.0.recipe
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
SUMMARY="A code editor"
|
||||||
|
DESCRIPTION="Koder is a code editor for Haiku based on Scintilla editing \
|
||||||
|
component. It supports syntax highlighting for several programming languages \
|
||||||
|
and additional languages can be added by the user. It also features multiline \
|
||||||
|
editing, folding, brace highlighting, and some other things supported by \
|
||||||
|
Scintilla."
|
||||||
|
HOMEPAGE="https://github.com/KapiX/Koder"
|
||||||
|
COPYRIGHT="2016-2017 Kacper Kasper"
|
||||||
|
LICENSE="MIT"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="654d2d7fea52abaaeb15dae88704462ae76c965b30e4d7a2aa7a06eb52eea7f7"
|
||||||
|
SOURCE_DIR="Koder-$portVersion"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
koder$secondaryArchSuffix = $portVersion
|
||||||
|
app:Koder = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
lib:libyaml_cpp$secondaryArchSuffix >= 0.5
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
devel:libyaml_cpp$secondaryArchSuffix >= 0.5
|
||||||
|
devel:libscintilla$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
makefile_engine
|
||||||
|
cmd:g++$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
"
|
||||||
|
|
||||||
|
USER_SETTINGS_FILES="
|
||||||
|
settings/Koder directory
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
make $jobArgs OBJ_DIR=objects
|
||||||
|
make bindcatalogs OBJ_DIR=objects
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mkdir -p $appsDir
|
||||||
|
cp -af objects/Koder $appsDir
|
||||||
|
|
||||||
|
mkdir -p $dataDir/Koder
|
||||||
|
cp -r data/* $dataDir/Koder
|
||||||
|
|
||||||
|
addAppDeskbarSymlink $appsDir/Koder
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user