From 3e4aba1a7ac614ff76db1d4dbc7e1ef75fcb6e45 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 18 Jun 2013 02:52:54 +0200 Subject: [PATCH] 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. --- haiku-apps/pe/pe-2.4.3_hg602.recipe | 34 ++++++++++++++++++----------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/haiku-apps/pe/pe-2.4.3_hg602.recipe b/haiku-apps/pe/pe-2.4.3_hg602.recipe index 3f8d2eace..a41ca3f67 100644 --- a/haiku-apps/pe/pe-2.4.3_hg602.recipe +++ b/haiku-apps/pe/pe-2.4.3_hg602.recipe @@ -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 }