Files
haikuports/haiku-apps/pe/pe-2.4.5.recipe
Jerome Duval 5f946a7d33 pe: use an archive URL at github.com
* fix build, missing std namespace.
2015-10-18 14:39:19 +00:00

69 lines
1.3 KiB
Bash

SUMMARY="A programmer's editor"
DESCRIPTION="Pe is a native programmer's editor for Haiku. It features syntax \
highlighting and a structural view for several programming language, as well \
as basic support for Makefile and Jamfile project management."
HOMEPAGE="https://github.com/olta/pe"
LICENSE="
BSD (4-clause)
MIT
"
COPYRIGHT="
1996-2002 Maarteen Hekkelman
2003-2014 Team Pe
"
SOURCE_URI="https://github.com/olta/pe/archive/4bfabe000ec381f00072a858b6012cc36cd27678.tar.gz"
SOURCE_FILENAME="pe-$portVersion.tar.gz"
SOURCE_DIR="pe-4bfabe000ec381f00072a858b6012cc36cd27678"
CHECKSUM_SHA256="2a321048e896c22b45dda61a673001655d077713a02a9da33a5338195aa0af9b"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PATCHES="pe-2.4.5.patchset"
PROVIDES="
pe = $portVersion
app:Pe = $portVersion compat >= 2
cmd:lpe = $portVersion compat >= 2
"
REQUIRES="
haiku
lib:libpcre
lib:libpcreposix
"
BUILD_REQUIRES="
haiku_devel
devel:libpcre
devel:libpcreposix
"
BUILD_PREREQUIRES="
cmd:bison
cmd:flex
cmd:gcc
cmd:jam
cmd:ld
"
USER_SETTINGS_FILES="
settings/pe directory
"
BUILD()
{
jam -q
# multi-job builds don't work reliably
}
INSTALL()
{
peDir=$appsDir/Pe
mkdir -p $appsDir
cp -a generated/distro $peDir
cp -a doc $peDir/Documentation
mkdir $binDir
ln -sfn $peDir/lpe $binDir
addAppDeskbarSymlink $peDir/Pe
}