From efb6dbacb075558c13249501fbcf749739e2b91a Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Thu, 24 Aug 2017 09:24:15 +0300 Subject: [PATCH] lua: provide lua5.x.pc file * needed at least by vlc configure --- dev-lang/lua/lua-5.3.4.recipe | 4 +++- dev-lang/lua/lua52-5.2.4.recipe | 13 +++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/dev-lang/lua/lua-5.3.4.recipe b/dev-lang/lua/lua-5.3.4.recipe index 3f9b4211c..ccbe35519 100644 --- a/dev-lang/lua/lua-5.3.4.recipe +++ b/dev-lang/lua/lua-5.3.4.recipe @@ -8,7 +8,7 @@ HOMEPAGE="https://www.lua.org/" COPYRIGHT="1994-2016 Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de \ Figueiredo" LICENSE="MIT" -REVISION="2" +REVISION="3" SOURCE_URI="https://www.lua.org/ftp/lua-$portVersion.tar.gz" CHECKSUM_SHA256="f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c" PATCHES="lua-$portVersion.patchset" @@ -91,6 +91,8 @@ Libs: -L\${libdir} -llua Cflags: -I\${includedir}/lua53 EOF + ln -s $developLibDir/pkgconfig/lua.pc $developLibDir/pkgconfig/lua5.3.pc + prepareInstalledDevelLib liblua packageEntries devel $developDir } diff --git a/dev-lang/lua/lua52-5.2.4.recipe b/dev-lang/lua/lua52-5.2.4.recipe index 297bda2e9..0a6398094 100644 --- a/dev-lang/lua/lua52-5.2.4.recipe +++ b/dev-lang/lua/lua52-5.2.4.recipe @@ -1,14 +1,13 @@ SUMMARY="A powerful, fast, light-weight, embeddable scripting language" -DESCRIPTION=" -Lua combines simple procedural syntax with powerful data description \ -constructs based on associative arrays and extensible semantics. Lua is \ -dynamically typed, runs by interpreting bytecode for a register-based virtual \ -machine, and has automatic memory management with incremental garbage \ +DESCRIPTION="Lua combines simple procedural syntax with powerful data \ +description constructs based on associative arrays and extensible semantics. \ +Lua is dynamically typed, runs by interpreting bytecode for a register-based \ +virtual machine, and has automatic memory management with incremental garbage \ collection, making it ideal for configuration, scripting, and rapid prototyping." HOMEPAGE="http://www.lua.org" COPYRIGHT="1994-2012, Lua.org, PUC-Rio" LICENSE="MIT" -REVISION="2" +REVISION="3" SOURCE_URI="http://www.lua.org/ftp/lua-$portVersion.tar.gz" CHECKSUM_SHA256="b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b" SOURCE_DIR="lua-$portVersion" @@ -87,6 +86,8 @@ Libs: -L\${libdir} -llua Cflags: -I\${includedir}/lua52 EOF + ln -s $developLibDir/pkgconfig/lua.pc $developLibDir/pkgconfig/lua5.2.pc + prepareInstalledDevelLib liblua prepareInstalledDevelLib liblua52 packageEntries devel $developDir