From 5e69362f2e1abdbd25a8f1f0f701c186fa674058 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 15 Jun 2013 22:48:45 +0200 Subject: [PATCH] flex: update recipe * Declare library provides correctly. * Move development libraries to develop/lib. * Add missing cmd:makeinfo build requires. * Use runConfigure, jobArgs. --- sys-devel/flex/flex-2.5.35.recipe | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/sys-devel/flex/flex-2.5.35.recipe b/sys-devel/flex/flex-2.5.35.recipe index 22038aa0d..2d331ffae 100644 --- a/sys-devel/flex/flex-2.5.35.recipe +++ b/sys-devel/flex/flex-2.5.35.recipe @@ -4,16 +4,18 @@ DESCRIPTION=" programs that perform pattern-matching on text. " HOMEPAGE="http://flex.sourceforge.net/" +COPYRIGHT="2001-2007 The Flex Project; 1990, 1997 The Regents of the University of California" +LICENSE="Flex" SRC_URI="http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.bz2/download" CHECKSUM_MD5="10714e50cea54dc7a227e3eddcd44d57" -REVISION="5" +REVISION="6" ARCHITECTURES="x86_gcc2 ?x86" PROVIDES=" flex = $portVersion compat >= 2.5 cmd:flex = $portVersion compat >= 2.5 - lib:libfl.a = $portVersion compat >= 2.5 - lib:libfl_pic.a = $portVersion compat >= 2.5 + devel:libfl = $portVersion compat >= 2.5 + devel:libfl_pic = $portVersion compat >= 2.5 " REQUIRES=" haiku >= $haikuVersion @@ -25,6 +27,7 @@ BUILD_REQUIRES=" cmd:automake cmd:libtoolize cmd:make + cmd:makeinfo " BUILD_PREREQUIRES=" haiku_devel >= $haikuVersion @@ -41,15 +44,16 @@ BUILD() aclocal -I m4 autoconf automake --add-missing --force-missing - ./configure $configureDirArgs \ + runConfigure ./configure \ --disable-rpath --with-gnu-ld - make -j$jobs + make $jobArgs } INSTALL() { make install -} -LICENSE="Flex" -COPYRIGHT="2001-2007 The Flex Project; 1990, 1997 The Regents of the University of California" + # prepare develop/lib + prepareInstalledDevelLibs libfl libfl_pic + rmdir $libDir +}