mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
pe: update recipe
* Declare patch explicitly. * Update [BUILD_]REQUIRES. * Declare USER_SETTINGS_FILES. * Don't allow multi-job builds. They don't work reliably. * INSTALL(): Simplify a bit. Add Deskbar menu symlink.
This commit is contained in:
@@ -10,9 +10,11 @@ COPYRIGHT="
|
||||
2003-2012 Team Pe
|
||||
"
|
||||
SRC_URI="hg+http://hg.berlios.de/repos/pe-editor#602"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PATCHES="pe-2.4.3_hg602.patch"
|
||||
|
||||
PROVIDES="
|
||||
pe = $portVersion
|
||||
cmd:Pe = $portVersion compat >= 2
|
||||
@@ -21,38 +23,44 @@ PROVIDES="
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libpcre >= 8
|
||||
lib:libpcreposix >= 8
|
||||
lib:libpcre
|
||||
lib:libpcreposix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
$REQUIRES
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:gcc
|
||||
cmd:jam
|
||||
cmd:ld
|
||||
devel:libpcre >= 0.0.1
|
||||
devel:libpcreposix >= 0.0.1
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
USER_SETTINGS_FILES="
|
||||
settings/pe directory
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
jam -q -j$jobs
|
||||
jam -q
|
||||
# multi-job builds don't work reliably
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
apps=$prefix/apps
|
||||
mkdir -p $apps
|
||||
peDir=$appsDir/Pe
|
||||
|
||||
peBase=$apps/Pe
|
||||
cp -a generated/distro $peBase
|
||||
cp -a doc $peBase/Documentation
|
||||
mkdir -p $appsDir
|
||||
cp -a generated/distro $peDir
|
||||
cp -a doc $peDir/Documentation
|
||||
|
||||
mkdir $prefix/bin
|
||||
cd $prefix/bin
|
||||
ln -sfn ../apps/Pe/lpe .
|
||||
mkdir $binDir
|
||||
ln -sfn $peDir/lpe $binDir
|
||||
|
||||
addAppDeskbarSymlink $peDir/Pe
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user