From 066c0272692a4f30535ed3a04c95aed263eb9479 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Tue, 21 Jul 2015 19:41:22 +0200 Subject: [PATCH] De-Lint recipes. * libtool Minor cosmetics. Lint warning "patch not referenced" is true, but it nevertheless builds... Maybe those unused patches should be removed? * libzip Removed "." from SUMMARY. Minor cosmetics. * linaro_qemu Removed "." from SUMMARY. Minor cosmetics. * llvm Removed "." from SUMMARY. Minor cosmetics. Uncommented the ARCHITECTURES of llvm-3.0. Hope that's OK... * lm4tools Removed "." from SUMMARY. Minor cosmetics. * love Removed "." and improved SUMMARY/DESCRIPTION. Minor cosmetics. * ltp Removed "." and improved SUMMARY/DESCRIPTION. Minor cosmetics. * lua Removed "." and improved SUMMARY/DESCRIPTION. Minor cosmetics. * luarocks Removed "." from SUMMARY. Minor cosmetics. * lyx Removed "." from SUMMARY. Minor cosmetics. --- app-benchmarks/ltp/ltp-20140422.recipe | 37 ++--- .../linaro_qemu/linaro_qemu-2014.01.recipe | 22 ++- app-office/lyx/lyx-2.1.3.recipe | 40 +++-- dev-embedded/lm4tools/lm4tools-0.1.3.recipe | 31 ++-- dev-lang/lua/lua-5.1.4.recipe | 50 +++---- dev-lang/lua/lua-5.2.1.recipe | 44 +++--- dev-libs/libzip/libzip-0.10.1.recipe | 31 ++-- dev-libs/libzip/libzip-0.11.2.recipe | 33 ++--- dev-lua/luarocks/luarocks-2.2.0.recipe | 23 ++- games-engines/love/love-0.9.1.recipe | 36 ++--- sys-devel/libtool/libtool-2.4.2.recipe | 35 ++--- sys-devel/llvm/llvm-3.0.recipe | 139 ++++++++++++------ sys-devel/llvm/llvm-3.2.recipe | 23 ++- sys-devel/llvm/llvm-3.3.recipe | 26 ++-- sys-devel/llvm/llvm-3.4.1.recipe | 25 ++-- sys-devel/llvm/llvm-3.4.2.recipe | 29 ++-- sys-devel/llvm/llvm-3.4.recipe | 25 ++-- 17 files changed, 328 insertions(+), 321 deletions(-) diff --git a/app-benchmarks/ltp/ltp-20140422.recipe b/app-benchmarks/ltp/ltp-20140422.recipe index 164c75f78..d8f3bd6e0 100644 --- a/app-benchmarks/ltp/ltp-20140422.recipe +++ b/app-benchmarks/ltp/ltp-20140422.recipe @@ -1,27 +1,33 @@ -SUMMARY="Testing Linux, one syscall at a time." -DESCRIPTION=" -The Linux Test Project is a joint project started by SGI, developed and -maintained by IBM, Cisco, Fujitsu, SUSE, Red Hat and others, that has a goal to -deliver test suites to the open source community that validate the reliability, -robustness, and stability of Linux. The LTP testsuite contains a collection of -tools for testing the Linux kernel and related features. -" -HOMEPAGE="http://linux-test-project.github.io/" -SOURCE_URI="https://github.com/linux-test-project/ltp/archive/20140422.tar.gz" -CHECKSUM_SHA256="0356ba208813efb3d9be6a530a9b56688281b6ac9d80ba901920ec07cf250f2e" +SUMMARY="A testsuit for the Linux kernel" +DESCRIPTION="The Linux Test Project is a joint project started by SGI, \ +developed and maintained by IBM, Cisco, Fujitsu, SUSE, Red Hat and others, \ +that has a goal to deliver test suites to the open source community that \ +validate the reliability, robustness, and stability of Linux. The LTP \ +testsuite contains a collection of tools for testing the Linux kernel and \ +related features." +HOMEPAGE="http://linux-test-project.github.io/" +LICENSE="GNU GPL v2" REVISION="1" ARCHITECTURES="!x86_gcc2" SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="https://github.com/linux-test-project/ltp/archive/20140422.tar.gz" +CHECKSUM_SHA256="0356ba208813efb3d9be6a530a9b56688281b6ac9d80ba901920ec07cf250f2e" +COPYRIGHT="2002-2004 Intel Corporation + 2004, QUALCOMM Inc. + 2004-2005 Bull S.A. + " + PROVIDES=" ltp = $portVersion " - +REQUIRES=" + haiku$secondaryArchSuffix + " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " - BUILD_PREREQUIRES=" cmd:automake cmd:autoconf @@ -47,8 +53,3 @@ TEST() { $prefix/ltp/runltp } - -LICENSE="GNU GPL v2" -COPYRIGHT="2002-2004 Intel Corporation. All rights reserved. - 2004, QUALCOMM Inc. All rights reserved. - 2004-2005 Bull S.A.. All rights reserved." diff --git a/app-emulation/linaro_qemu/linaro_qemu-2014.01.recipe b/app-emulation/linaro_qemu/linaro_qemu-2014.01.recipe index 693ca31c9..21c14d2f1 100644 --- a/app-emulation/linaro_qemu/linaro_qemu-2014.01.recipe +++ b/app-emulation/linaro_qemu/linaro_qemu-2014.01.recipe @@ -1,17 +1,14 @@ -SUMMARY="QEMU is a generic and open source machine emulator and virtualizer." +SUMMARY="A generic and open source machine emulator and virtualizer" DESCRIPTION=" QEMU is a generic and open source machine emulator and virtualizer. QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a \ different machine (e.g. your own PC). By using dynamic translation, it \ -achieves very good performance. -" +achieves very good performance." HOMEPAGE="http://wiki.qemu.org/" -SOURCE_URI="https://launchpad.net/qemu-linaro/trunk/2014.01/+download/qemu-linaro-1.7.0-2014.01.tar.gz" -CHECKSUM_SHA256="bd9a2266dd6abc5da8bac1ec9eadd728693911bbfbfe26d2a464e068ad6afd70" -COPYRIGHT="2003-2014 Fabrice Bellard" LICENSE="GNU GPL v2" REVISION="1" + ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building @@ -20,6 +17,12 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then fi SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="https://launchpad.net/qemu-linaro/trunk/2014.01/+download/qemu-linaro-1.7.0-2014.01.tar.gz" +CHECKSUM_SHA256="bd9a2266dd6abc5da8bac1ec9eadd728693911bbfbfe26d2a464e068ad6afd70" +COPYRIGHT="2003-2014 Fabrice Bellard" +SOURCE_DIR="qemu-linaro-1.7.0-2014.01" +PATCHES="qemu-2.0.0.patchset" + PROVIDES=" qemu$secondaryArchSuffix = $portVersion cmd:qemu$secondaryArchSuffix = $portVersion @@ -53,9 +56,6 @@ PROVIDES=" cmd:qemu_system_xtensa$secondaryArchSuffix = $portVersion cmd:qemu_system_xtensaeb$secondaryArchSuffix = $portVersion " - -PATCHES="qemu-2.0.0.patchset" - REQUIRES=" haiku$secondaryArchSuffix lib:libz$secondaryArchSuffix @@ -65,7 +65,6 @@ REQUIRES=" glib2$secondaryArchSuffix >= 2.12 pixman$secondaryArchSuffix " - BUILD_REQUIRES=" devel:libz$secondaryArchSuffix devel:libfdt$secondaryArchSuffix @@ -73,7 +72,6 @@ BUILD_REQUIRES=" glib2${secondaryArchSuffix}_devel >= 2.12 pixman${secondaryArchSuffix}_devel " - BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:awk @@ -86,8 +84,6 @@ BUILD_PREREQUIRES=" cmd:python " -SOURCE_DIR="qemu-linaro-1.7.0-2014.01" - BUILD() { runConfigure --omit-buildspec ./configure diff --git a/app-office/lyx/lyx-2.1.3.recipe b/app-office/lyx/lyx-2.1.3.recipe index 261c233b1..e566fac0b 100644 --- a/app-office/lyx/lyx-2.1.3.recipe +++ b/app-office/lyx/lyx-2.1.3.recipe @@ -1,39 +1,37 @@ -SUMMARY="A document processor that encourages an approach to writing based \ -on the structure of your documents and not simply their appearance." +SUMMARY="A document processor based on structure rather than appearance" DESCRIPTION="LyX combines the power and flexibility of TeX/LaTeX with the ease \ of use of a graphical interface. This results in world-class support for creation \ of mathematical content (via a fully integrated equation editor) and structured \ documents like academic articles, theses, and books. In addition, staples of \ scientific authoring such as reference list and index creation come standard. But \ you can also use LyX to create a letter or a novel or a theatre play or film \ -script. A broad array of ready, well-designed document layouts are built in.\ -\ -LyX is for people who want their writing to look great, right out of the box. No \ -more endless tinkering with formatting details, \"finger painting\" font \ -attributes or futzing around with page boundaries. You just write. On screen, LyX \ -looks like any word processor; its printed output - or richly cross-referenced \ -PDF, just as readily produced - looks like nothing else." +script. A broad array of ready, well-designed document layouts are built in. + +LyX is for people who want their writing to look great, right out of the box. \ +No more endless tinkering with formatting details, \"finger painting\" font \ +attributes or futzing around with page boundaries. You just write. On screen, \ +LyX looks like any word processor; its printed output - or richly \ +cross-referenced PDF, just as readily produced - looks like nothing else." HOMEPAGE="http://www.lyx.org" -REVISION="1" LICENSE="GNU GPL v2" -COPYRIGHT="the lyx community" +REVISION="1" + ARCHITECTURES="x86_gcc2 x86" SECONDARY_ARCHITECTURES="x86" SOURCE_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-2.1.3.tar.gz" CHECKSUM_SHA256="51614a22df749f256aebf768b2066984f1185c1190ce5f7a1b6f9e9bf181846f" - +COPYRIGHT="the lyx community" PATCHES=" lyx.patchset - icon.patch" - + icon.patch + " PROVIDES=" lyx = $portVersion app:LyX cmd:lyxclient${secondaryArchSuffix} cmd:tex2lyx${secondaryArchSuffix} -" - + " REQUIRES=" haiku${secondaryArchSuffix} libqt4${secondaryArchSuffix} @@ -42,18 +40,16 @@ REQUIRES=" lib:libstdc++${secondaryArchSuffix} lib:libz${secondaryArchSuffix} lib:libiconv${secondaryArchSuffix} -" - + " # TODO: add support for hunspell BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel boost${secondaryArchSuffix}_devel libqt4${secondaryArchSuffix}_devel devel:libz${secondaryArchSuffix} devel:libiconv${secondaryArchSuffix} -" - + " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel cmd:gcc${secondaryArchSuffix} cmd:make cmd:ld${secondaryArchSuffix} @@ -62,7 +58,7 @@ BUILD_PREREQUIRES=" cmd:gettext${secondaryArchSuffix} cmd:find cmd:pkg_config${secondaryArchSuffix} -" + " BUILD() { diff --git a/dev-embedded/lm4tools/lm4tools-0.1.3.recipe b/dev-embedded/lm4tools/lm4tools-0.1.3.recipe index 842ad2ba6..4731d044b 100644 --- a/dev-embedded/lm4tools/lm4tools-0.1.3.recipe +++ b/dev-embedded/lm4tools/lm4tools-0.1.3.recipe @@ -1,21 +1,11 @@ -SUMMARY="Some tools which enable multi-platform development on the TI Stellaris Launchpad boards." -DESCRIPTION=" -Some tools which enable multi-platform development on the TI Stellaris -Launchpad boards. The Stellaris Launchpad is a low cost development board -created by Texas Instruments that comes with an ARM Cortex-M4F processor. -" +SUMMARY="Tools to enable multi-platform development on TI Stellaris Launchpads" +DESCRIPTION="Some tools which enable multi-platform development on the TI \ +Stellaris Launchpad boards. The Stellaris Launchpad is a low cost development \ +board created by Texas Instruments that comes with an ARM Cortex-M4F processor." HOMEPAGE="https://github.com/utzig/lm4tools" -LICENSE=" - GNU GPL v2 - " -COPYRIGHT=" - 2012 Fabio Utzig - 2012 Peter Stuge -" -SOURCE_URI=" - git+https://github.com/utzig/lm4tools.git#1cfd813779b9eb717b15b0a1814bde8338899ff9 - " +LICENSE="GNU GPL v2" REVISION="1" + ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building @@ -24,20 +14,25 @@ if [ $effectiveTargetArchitecture != x86_gcc2 ]; then fi SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="git+https://github.com/utzig/lm4tools.git#1cfd813779b9eb717b15b0a1814bde8338899ff9" +COPYRIGHT=" + 2012 Fabio Utzig + 2012 Peter Stuge + " + PROVIDES=" lm4tools = $portVersion cmd:lm4flash$secondaryArchSuffix = $portVersion " - REQUIRES=" haiku$secondaryArchSuffix lib:libusb_1.0$secondaryArchSuffix " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel devel:libusb_1.0$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make diff --git a/dev-lang/lua/lua-5.1.4.recipe b/dev-lang/lua/lua-5.1.4.recipe index 0404e7358..dd7f4038c 100644 --- a/dev-lang/lua/lua-5.1.4.recipe +++ b/dev-lang/lua/lua-5.1.4.recipe @@ -1,11 +1,22 @@ -SUMMARY="Lua is a powerful, fast, light-weight, embeddable scripting language." +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 \ +collection, making it ideal for configuration, scripting, and rapid \ +prototyping." HOMEPAGE="http://www.lua.org" -SOURCE_URI="http://www.lua.org/ftp/lua-5.1.4.tar.gz" -CHECKSUM_SHA256="b038e225eaf2a5b57c9bcc35cd13aa8c6c8288ef493d52970c9545074098af3a" +LICENSE="MIT" REVISION="6" + ARCHITECTURES="x86 x86_gcc2" SECONDARY_ARCHITECTURES="x86 x86_gcc2" +SOURCE_URI="http://www.lua.org/ftp/lua-5.1.4.tar.gz" +CHECKSUM_SHA256="b038e225eaf2a5b57c9bcc35cd13aa8c6c8288ef493d52970c9545074098af3a" +COPYRIGHT="1994-2009, Lua.org, PUC-Rio" +PATCHES="lua-5.1.4.patchset" + PROVIDES=" lua${secondaryArchSuffix} = $portVersion compat >= 5.1 cmd:lua${secondaryArchSuffix} = $portVersion compat >= 5.1 @@ -16,13 +27,23 @@ PROVIDES=" REQUIRES=" haiku${secondaryArchSuffix} " +PROVIDES_devel=" + lua${secondaryArchSuffix}_devel = $portVersion compat >= 5.1 + devel:liblua$secondaryArchSuffix = $portVersion compat >= 5.1 + devel:liblua5.1$secondaryArchSuffix = $portVersion compat >= 5.1 + " +REQUIRES_devel=" + lua$secondaryArchSuffix == $portVersion + " +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:make cmd:gcc${secondaryArchSuffix} " -PATCHES="lua-5.1.4.patchset" BUILD() { @@ -55,24 +76,3 @@ INSTALL() packageEntries devel $developDir } - -PROVIDES_devel=" - lua${secondaryArchSuffix}_devel = $portVersion compat >= 5.1 - devel:liblua$secondaryArchSuffix = $portVersion compat >= 5.1 - devel:liblua5.1$secondaryArchSuffix = $portVersion compat >= 5.1 - " - -REQUIRES_devel=" - lua$secondaryArchSuffix == $portVersion - " - -LICENSE="MIT" -COPYRIGHT="1994-2009, Lua.org, PUC-Rio" -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. - " diff --git a/dev-lang/lua/lua-5.2.1.recipe b/dev-lang/lua/lua-5.2.1.recipe index 13324aab0..de8b57522 100644 --- a/dev-lang/lua/lua-5.2.1.recipe +++ b/dev-lang/lua/lua-5.2.1.recipe @@ -1,10 +1,22 @@ -SUMMARY="Lua is a powerful, fast, light-weight, embeddable scripting language." +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 \ +collection, making it ideal for configuration, scripting, and rapid \ +prototyping." HOMEPAGE="http://www.lua.org" -SOURCE_URI="http://www.lua.org/ftp/lua-$portVersion.tar.gz" -CHECKSUM_SHA256="64304da87976133196f9e4c15250b70f444467b6ed80d7cfd7b3b982b5177be5" +LICENSE="MIT" REVISION="7" + ARCHITECTURES="x86 x86_gcc2" SECONDARY_ARCHITECTURES="x86" + +SOURCE_URI="http://www.lua.org/ftp/lua-$portVersion.tar.gz" +CHECKSUM_SHA256="64304da87976133196f9e4c15250b70f444467b6ed80d7cfd7b3b982b5177be5" +COPYRIGHT="1994-2012, Lua.org, PUC-Rio" +PATCHES="lua-$portVersion.patchset" + PROVIDES=" lua$secondaryArchSuffix = $portVersion compat >= 5.2 cmd:lua$secondaryArchSuffix = $portVersion compat >= 5.2 @@ -12,27 +24,24 @@ PROVIDES=" cmd:luac$secondaryArchSuffix = $portVersion compat >= 5.2 lib:liblua$secondaryArchSuffix = $portVersion compat >= 5.2 " - REQUIRES=" haiku$secondaryArchSuffix " -BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel - cmd:make - cmd:gcc$secondaryArchSuffix - " - PROVIDES_devel=" lua${secondaryArchSuffix}_devel = $portVersion compat >= 5.2 devel:liblua$secondaryArchSuffix = $portVersion compat >= 5.2 devel:liblua52$secondaryArchSuffix = $portVersion compat >= 5.2 " - REQUIRES_devel=" lua$secondaryArchSuffix == $portVersion " - -PATCHES="lua-$portVersion.patchset" +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc$secondaryArchSuffix + " BUILD() { @@ -55,12 +64,3 @@ INSTALL() prepareInstalledDevelLib liblua52 packageEntries devel $developDir } -LICENSE="MIT" -COPYRIGHT="1994-2012, Lua.org, PUC-Rio" -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. -" diff --git a/dev-libs/libzip/libzip-0.10.1.recipe b/dev-libs/libzip/libzip-0.10.1.recipe index 640940bef..c2c86278d 100644 --- a/dev-libs/libzip/libzip-0.10.1.recipe +++ b/dev-libs/libzip/libzip-0.10.1.recipe @@ -1,13 +1,17 @@ -SUMMARY="A C library for reading, creating, and modifying zip archives." -DESCRIPTION="libzip is a C library for reading, creating, and modifying zip archives." +SUMMARY="A C library for reading, creating, and modifying zip archives" +DESCRIPTION="libzip is a C library for reading, creating, and modifying zip \ +archives." HOMEPAGE="http://www.nih.at/libzip/" -SOURCE_URI="http://www.nih.at/libzip/libzip-0.10.1.tar.bz2" -CHECKSUM_SHA256="5b1eaf60968cb22df49d73bcaa759961fb27451917ac76b275374c2ed260ce92" +LICENSE="BSD (3-clause)" REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" +SOURCE_URI="http://www.nih.at/libzip/libzip-0.10.1.tar.bz2" +CHECKSUM_SHA256="5b1eaf60968cb22df49d73bcaa759961fb27451917ac76b275374c2ed260ce92" +COPYRIGHT="1999-2012 Dieter Baron and Thomas Klausner" + PROVIDES=" libzip${secondaryArchSuffix} = $portVersion lib:libzip${secondaryArchSuffix} = $portVersion @@ -19,6 +23,13 @@ REQUIRES=" haiku${secondaryArchSuffix} lib:libz${secondaryArchSuffix} " +PROVIDES_devel=" + libzip${secondaryArchSuffix}_devel = $portVersion + devel:libzip$secondaryArchSuffix = $portVersion + " +REQUIRES_devel=" + libzip$secondaryArchSuffix == $portVersion base + " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libz${secondaryArchSuffix} @@ -61,15 +72,3 @@ INSTALL() packageEntries devel \ $developDir } - -PROVIDES_devel=" - libzip${secondaryArchSuffix}_devel = $portVersion - devel:libzip$secondaryArchSuffix = $portVersion - " - -REQUIRES_devel=" - libzip$secondaryArchSuffix == $portVersion base - " - -LICENSE="BSD (3-clause)" -COPYRIGHT="1999-2012 Dieter Baron and Thomas Klausner" diff --git a/dev-libs/libzip/libzip-0.11.2.recipe b/dev-libs/libzip/libzip-0.11.2.recipe index f0cdfdd11..e27b13c9e 100644 --- a/dev-libs/libzip/libzip-0.11.2.recipe +++ b/dev-libs/libzip/libzip-0.11.2.recipe @@ -1,15 +1,17 @@ -SUMMARY="A C library for reading, creating, and modifying zip archives." -DESCRIPTION=" -libzip is a C library for reading, creating, and modifying zip archives. -" +SUMMARY="A C library for reading, creating, and modifying zip archives" +DESCRIPTION="libzip is a C library for reading, creating, and modifying zip \ +archives." HOMEPAGE="http://www.nih.at/libzip/" -SOURCE_URI="http://www.nih.at/libzip/libzip-0.11.2.tar.gz" -CHECKSUM_SHA256="83db1fb43a961ff7d1d1b50e1c6bea09c67e6af867686d1fc92ecb7dc6cf98d5" +LICENSE="BSD (3-clause)" REVISION="1" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" +SOURCE_URI="http://www.nih.at/libzip/libzip-0.11.2.tar.gz" +CHECKSUM_SHA256="83db1fb43a961ff7d1d1b50e1c6bea09c67e6af867686d1fc92ecb7dc6cf98d5" +COPYRIGHT="1999-2012 Dieter Baron and Thomas Klausner" + PROVIDES=" libzip${secondaryArchSuffix} = $portVersion lib:libzip${secondaryArchSuffix} = $portVersion @@ -21,6 +23,13 @@ REQUIRES=" haiku${secondaryArchSuffix} lib:libz${secondaryArchSuffix} " +PROVIDES_devel=" + libzip${secondaryArchSuffix}_devel = $portVersion + devel:libzip$secondaryArchSuffix = $portVersion + " +REQUIRES_devel=" + libzip$secondaryArchSuffix == $portVersion base + " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libz${secondaryArchSuffix} @@ -63,15 +72,3 @@ INSTALL() packageEntries devel \ $developDir } - -PROVIDES_devel=" - libzip${secondaryArchSuffix}_devel = $portVersion - devel:libzip$secondaryArchSuffix = $portVersion - " - -REQUIRES_devel=" - libzip$secondaryArchSuffix == $portVersion base - " - -LICENSE="BSD (3-clause)" -COPYRIGHT="1999-2012 Dieter Baron and Thomas Klausner" diff --git a/dev-lua/luarocks/luarocks-2.2.0.recipe b/dev-lua/luarocks/luarocks-2.2.0.recipe index 2f2bc1dd4..df24fae89 100644 --- a/dev-lua/luarocks/luarocks-2.2.0.recipe +++ b/dev-lua/luarocks/luarocks-2.2.0.recipe @@ -1,15 +1,17 @@ -SUMMARY="a deployment and management system for Lua modules." -DESCRIPTION=" -LuaRocks allows you to install modules as self-contained packages \ -called rocks, which also contain version dependency information. -" +SUMMARY="A deployment and management system for Lua modules" +DESCRIPTION="LuaRocks allows you to install modules as self-contained \ +packages called rocks, which also contain version dependency information." HOMEPAGE="http://luarocks.org" -SOURCE_URI="http://luarocks.org/releases/luarocks-2.2.0.tar.gz" -SOURCE_DIR=$portVersionedName +LICENSE="MIT" REVISION="2" -CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c" ARCHITECTURES="x86_gcc2 x86 x86_64" + +SOURCE_URI="http://luarocks.org/releases/luarocks-2.2.0.tar.gz" +CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c" +COPYRIGHT="2007-2014 Kepler Project" +SOURCE_DIR=$portVersionedName + PROVIDES=" cmd:luarocks = $portVersion cmd:luarocks_admin = $portVersion @@ -20,11 +22,11 @@ REQUIRES=" lib:liblua " BUILD_REQUIRES=" + haiku_devel lua_devel devel:liblua " BUILD_PREREQUIRES=" - haiku_devel cmd:lua cmd:luac cmd:gcc @@ -44,6 +46,3 @@ INSTALL() { make install } - -LICENSE="MIT" -COPYRIGHT="2007-2014 Kepler Project" diff --git a/games-engines/love/love-0.9.1.recipe b/games-engines/love/love-0.9.1.recipe index 27c073916..ec6fa29a0 100644 --- a/games-engines/love/love-0.9.1.recipe +++ b/games-engines/love/love-0.9.1.recipe @@ -1,11 +1,9 @@ -SUMMARY="LÖVE is an *awesome* framework you can use to make 2D games in Lua." -DESCRIPTION=" -Hi there! LÖVE is an *awesome* framework you can use to make 2D games in Lua. -It's free, open-source, and works on Windows, Mac OS X and Linux. -" +SUMMARY="A framework to make 2D games in Lua" +DESCRIPTION="LÖVE is a framework to make 2D games in Lua. +It's free, open-source, and works also on Windows, Mac OS X and Linux." HOMEPAGE="http://love2d.org/" LICENSE="Zlib" -COPYRIGHT="2010-2014 Löve" +REVISION="1" ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then @@ -17,14 +15,14 @@ SECONDARY_ARCHITECTURES="x86" SOURCE_URI="https://bitbucket.org/rude/love/downloads/love-$portVersion-linux-src.tar.gz" CHECKSUM_SHA256="04dd0946bd82ec839c454c161bf0e5da870f393af62d09dc229990f5176833de" +COPYRIGHT="2010-2014 Löve" PATCHES="love-$portVersion.patchset" -REVISION="1" PROVIDES=" love$secondaryArchSuffix = $portVersion cmd:love$secondaryArchSuffix = $portVersion lib:liblove$secondaryArchSuffix = $portVersion -" + " REQUIRES=" haiku$secondaryArchSuffix lib:libSDL2_2.0$secondaryArchSuffix @@ -48,7 +46,14 @@ REQUIRES=" lib:libbz2$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix lib:libgcc_s$secondaryArchSuffix -" + " +PROVIDES_devel=" + love${secondaryArchSuffix}_devel = $portVersion + devel:liblove$secondaryArchSuffix = $portVersion + " +REQUIRES_devel=" + love$secondaryArchSuffix == $portVersion base + " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libSDL2$secondaryArchSuffix @@ -70,14 +75,14 @@ BUILD_REQUIRES=" devel:libjpeg$secondaryArchSuffix devel:libjasper$secondaryArchSuffix devel:libbz2$secondaryArchSuffix -" + " BUILD_PREREQUIRES=" cmd:make cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix cmd:awk -" + " BUILD() { @@ -99,12 +104,3 @@ TEST() { make check } - -PROVIDES_devel=" - love${secondaryArchSuffix}_devel = $portVersion - devel:liblove$secondaryArchSuffix = $portVersion -" - -REQUIRES_devel=" - love$secondaryArchSuffix == $portVersion base -" diff --git a/sys-devel/libtool/libtool-2.4.2.recipe b/sys-devel/libtool/libtool-2.4.2.recipe index adf29ab8e..713197cec 100644 --- a/sys-devel/libtool/libtool-2.4.2.recipe +++ b/sys-devel/libtool/libtool-2.4.2.recipe @@ -1,17 +1,17 @@ SUMMARY="A generic library support script" -DESCRIPTION=" -GNU libtool is a set of shell scripts to automatically configure UNIX \ -architectures to build shared libraries in a generic fashion. -" +SUMMARY_libltdl="The libtool libltdl library" +DESCRIPTION="GNU libtool is a set of shell scripts to automatically configure \ +UNIX architectures to build shared libraries in a generic fashion." HOMEPAGE="http://www.gnu.org/software/libtool" -COPYRIGHT="2004-2010 Free Software Foundation, Inc." LICENSE="GNU GPL v2" -SOURCE_URI="ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz" -CHECKSUM_SHA256="b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918" REVISION="1" + ARCHITECTURES="x86_gcc2 x86 x86_64 arm" SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="ftp://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz" +CHECKSUM_SHA256="b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918" +COPYRIGHT="2004-2010 Free Software Foundation, Inc." PATCHES=" 2.4.2/adjust_config_for_packaging.patch 2.4.2/remove_help2man_dependency.patch @@ -33,10 +33,18 @@ REQUIRES=" cmd:find cmd:xargs " +PROVIDES_libltdl=" + libtool_libltdl$secondaryArchSuffix = $portVersion compat >= 2.4 + lib:libltdl$secondaryArchSuffix = 7.3.0 compat >= 7 + " +REQUIRES_libltdl=" + haiku$secondaryArchSuffix + " + BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel cmd:aclocal cmd:autoconf >= 2.62 cmd:autoheader >= 2.62 @@ -87,14 +95,3 @@ TEST() { make check } - -# ----- libltdl package ------------------------------------------------------- - -SUMMARY_libltdl="The libtool libltdl library" -PROVIDES_libltdl=" - libtool_libltdl$secondaryArchSuffix = $portVersion compat >= 2.4 - lib:libltdl$secondaryArchSuffix = 7.3.0 compat >= 7 - " -REQUIRES_libltdl=" - haiku$secondaryArchSuffix - " diff --git a/sys-devel/llvm/llvm-3.0.recipe b/sys-devel/llvm/llvm-3.0.recipe index 32b84d840..5395616a5 100644 --- a/sys-devel/llvm/llvm-3.0.recipe +++ b/sys-devel/llvm/llvm-3.0.recipe @@ -1,29 +1,111 @@ -SUMMARY="collection of modular and reuseable compiler and toolchain technologies" +SUMMARY="Modular and reuseable compiler and toolchain technologies" +DESCRIPTION="The LLVM Project is a collection of modular and reusable compiler \ +and toolchain technologies. Despite its name, LLVM has little to do with \ +traditional virtual machines, though it does provide helpful libraries that \ +can be used to build them. The name \"LLVM\" itself is not an acronym; it is \ +the full name of the project. + +LLVM began as a research project at the University of Illinois, with the goal \ +of providing a modern, SSA-based compilation strategy capable of supporting \ +both static and dynamic compilation of arbitrary programming languages. Since \ +then, LLVM has grown to be an umbrella project consisting of a number of \ +subprojects, many of which are being used in production by a wide variety of \ +commercial and open source projects as well as being widely used in academic \ +research. Code in the LLVM project is licensed under the \"UIUC\" BSD-Style \ +license. + +The primary sub-projects of LLVM are: + +The LLVM Core libraries provide a modern source- and target-independent \ +optimizer, along with code generation support for many popular CPUs (as well \ +as some less common ones!) These libraries are built around a well specified \ +code representation known as the LLVM intermediate representation (\"LLVM \ +IR\"). The LLVM Core libraries are well documented, and it is particularly \ +easy to invent your own language (or port an existing compiler) to use LLVM as \ +an optimizer and code generator. + +Clang is an \"LLVM native\" C/C++/Objective-C compiler, which aims to deliver \ +amazingly fast compiles (e.g. about 3x faster than GCC when compiling \ +Objective-C code in a debug configuration), extremely useful error and warning \ +messages and to provide a platform for building great source level tools. The \ +Clang Static Analyzer is a tool that automatically finds bugs in your code, \ +and is a great example of the sort of tool that can be built using the Clang \ +frontend as a library to parse C/C++ code. + +dragonegg integrates the LLVM optimizers and code generator with the GCC \ +parsers. This allows LLVM to compile Ada, Fortran, and other languages \ +supported by the GCC compiler frontends, and access to C features not \ +supported by Clang (such as OpenMP). + +The LLDB project builds on libraries provided by LLVM and Clang to provide a \ +great native debugger. It uses the Clang ASTs and expression parser, LLVM JIT, \ +LLVM disassembler, etc so that it provides an experience that \"just works\". \ +It is also blazing fast and much more memory efficient than GDB at loading \ +symbols. + +The libc++ and libc++ ABI projects provide a standard conformant and high-\ +performance implementation of the C++ Standard Library, including full support \ +for C++11. + +The compiler-rt project provides highly tuned implementations of the low-level \ +code generator support routines like \"__fixunsdfdi\" and other calls \ +generated when a target doesn't have a short sequence of native instructions \ +to implement a core IR operation. + +The vmkit project is an implementation of the Java and .NET Virtual Machines \ +that is built on LLVM technologies. + +The polly project implements a suite of cache-locality optimizations as well \ +as auto-parallelism and vectorization using a polyhedral model. + +The libclc project aims to implement the OpenCL standard library. + +The klee project implements a \"symbolic virtual machine\" which uses a \ +theorem prover to try to evaluate all dynamic paths through a program in an \ +effort to find bugs and to prove properties of functions. A major feature of \ +klee is that it can produce a testcase in the event that it detects a bug. + +The SAFECode project is a memory safety compiler for C/C++ programs. It \ +instruments code with run-time checks to detect memory safety errors (e.g., \ +buffer overflows) at run-time. It can be used to protect software from \ +security attacks and can also be used as a memory safety error debugging tool \ +like Valgrind. + +In addition to official subprojects of LLVM, there are a broad variety of \ +other projects that use components of LLVM for various tasks. Through these \ +external projects you can use LLVM to compile Ruby, Python, Haskell, Java, D, \ +PHP, Pure, Lua, and a number of other languages. A major strength of LLVM is \ +its versatility, flexibility, and reusability, which is why it is being used \ +for such a wide variety of different tasks: everything from doing light-weight \ +JIT compiles of embedded languages like Lua to compiling Fortran code for \ +massive super computers." HOMEPAGE="http://www.llvm.org/" -COPYRIGHT="2003-2011 University of Illinois at Urbana-Champaign" LICENSE="UIUC" +REVISION="1" + +ARCHITECTURES="x86" +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + # x86_gcc2 is fine as primary target architecture as long as we're building + # for a different secondary architecture. + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +fi +SECONDARY_ARCHITECTURES="x86" + SOURCE_URI="http://llvm.org/releases/3.0/llvm-3.0.tar.gz" CHECKSUM_SHA256="519eb11d3499ce99c6ffdb8718651fc91425ed7690eac91c8d6853474f7c0477" -REVISION="1" -#ARCHITECTURES="x86" -#if [ $effectiveTargetArchitecture != x86_gcc2 ]; then -# # x86_gcc2 is fine as primary target architecture as long as we're building -# # for a different secondary architecture. -# ARCHITECTURES="$ARCHITECTURES x86_gcc2" -#fi -#SECONDARY_ARCHITECTURES="x86" +COPYRIGHT="2003-2011 University of Illinois at Urbana-Champaign" +SOURCE_DIR="llvm-$portVersion.src" PROVIDES=" llvm$secondaryArchSuffix = $portVersion compat >= 3 " - REQUIRES=" haiku$secondaryArchSuffix " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel # cmd:autoconf # cmd:flex cmd:groff @@ -66,8 +148,6 @@ BUILD_PREREQUIRES=" #POLICY WARNING: no matching provides "cmd:macho_dump" for "bin/macho-dump" #POLICY WARNING: no matching provides "cmd:opt" for "bin/opt" -SOURCE_DIR="llvm-$portVersion.src" - BUILD() { runConfigure ./configure --enable-optimized @@ -78,34 +158,3 @@ INSTALL() { make install } - - -DESCRIPTION="The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. The name \"LLVM\" itself is not an acronym; it is the full name of the project. - -LLVM began as a research project at the University of Illinois, with the goal of providing a modern, SSA-based compilation strategy capable of supporting both static and dynamic compilation of arbitrary programming languages. Since then, LLVM has grown to be an umbrella project consisting of a number of subprojects, many of which are being used in production by a wide variety of commercial and open source projects as well as being widely used in academic research. Code in the LLVM project is licensed under the \"UIUC\" BSD-Style license. - -The primary sub-projects of LLVM are: - -The LLVM Core libraries provide a modern source- and target-independent optimizer, along with code generation support for many popular CPUs (as well as some less common ones!) These libraries are built around a well specified code representation known as the LLVM intermediate representation (\"LLVM IR\"). The LLVM Core libraries are well documented, and it is particularly easy to invent your own language (or port an existing compiler) to use LLVM as an optimizer and code generator. - -Clang is an \"LLVM native\" C/C++/Objective-C compiler, which aims to deliver amazingly fast compiles (e.g. about 3x faster than GCC when compiling Objective-C code in a debug configuration), extremely useful error and warning messages and to provide a platform for building great source level tools. The Clang Static Analyzer is a tool that automatically finds bugs in your code, and is a great example of the sort of tool that can be built using the Clang frontend as a library to parse C/C++ code. - -dragonegg integrates the LLVM optimizers and code generator with the GCC parsers. This allows LLVM to compile Ada, Fortran, and other languages supported by the GCC compiler frontends, and access to C features not supported by Clang (such as OpenMP). - -The LLDB project builds on libraries provided by LLVM and Clang to provide a great native debugger. It uses the Clang ASTs and expression parser, LLVM JIT, LLVM disassembler, etc so that it provides an experience that \"just works\". It is also blazing fast and much more memory efficient than GDB at loading symbols. - -The libc++ and libc++ ABI projects provide a standard conformant and high-performance implementation of the C++ Standard Library, including full support for C++11. - -The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like \"__fixunsdfdi\" and other calls generated when a target doesn't have a short sequence of native instructions to implement a core IR operation. - -The vmkit project is an implementation of the Java and .NET Virtual Machines that is built on LLVM technologies. - -The polly project implements a suite of cache-locality optimizations as well as auto-parallelism and vectorization using a polyhedral model. - -The libclc project aims to implement the OpenCL standard library. - -The klee project implements a \"symbolic virtual machine\" which uses a theorem prover to try to evaluate all dynamic paths through a program in an effort to find bugs and to prove properties of functions. A major feature of klee is that it can produce a testcase in the event that it detects a bug. - -The SAFECode project is a memory safety compiler for C/C++ programs. It instruments code with run-time checks to detect memory safety errors (e.g., buffer overflows) at run-time. It can be used to protect software from security attacks and can also be used as a memory safety error debugging tool like Valgrind. - -In addition to official subprojects of LLVM, there are a broad variety of other projects that use components of LLVM for various tasks. Through these external projects you can use LLVM to compile Ruby, Python, Haskell, Java, D, PHP, Pure, Lua, and a number of other languages. A major strength of LLVM is its versatility, flexibility, and reusability, which is why it is being used for such a wide variety of different tasks: everything from doing light-weight JIT compiles of embedded languages like Lua to compiling Fortran code for massive super computers." diff --git a/sys-devel/llvm/llvm-3.2.recipe b/sys-devel/llvm/llvm-3.2.recipe index e53e5302c..0b430d7d7 100644 --- a/sys-devel/llvm/llvm-3.2.recipe +++ b/sys-devel/llvm/llvm-3.2.recipe @@ -1,17 +1,21 @@ -SUMMARY="Modular and reuseable compiler and toolchain technologies." -DESCRIPTION="LLVM is a collection of modular and reuseable compiler and and toolchain technologies." +SUMMARY="Modular and reuseable compiler and toolchain technologies" +DESCRIPTION="LLVM is a collection of modular and reuseable compiler and \ +toolchain technologies." HOMEPAGE="http://www.llvm.org/" LICENSE="UIUC" -COPYRIGHT="2003-2012 University of Illinois at Urbana-Champaign" -SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" -CHECKSUM_SHA256="125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343" REVISION="2" + ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then ARCHITECTURES="$ARCHITECTURES x86_gcc2" fi SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" +CHECKSUM_SHA256="125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343" +COPYRIGHT="2003-2012 University of Illinois at Urbana-Champaign" +SOURCE_DIR="llvm-${portVersion}.src" + PROVIDES=" llvm$secondaryArchSuffix = $portVersion cmd:bugpoint @@ -45,16 +49,13 @@ PROVIDES=" lib:libLTO lib:libprofile_rt " - REQUIRES=" haiku$secondaryArchSuffix " - BUILD_REQUIRES=" - " - -BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake @@ -67,8 +68,6 @@ BUILD_PREREQUIRES=" cmd:sed " -SOURCE_DIR="llvm-${portVersion}.src" - PATCH() { find . -type f -exec sed -i 's/\/usr\/bin\/env/\/bin\/env/g' "{}" \; diff --git a/sys-devel/llvm/llvm-3.3.recipe b/sys-devel/llvm/llvm-3.3.recipe index 44a17b9dd..de5e6df41 100644 --- a/sys-devel/llvm/llvm-3.3.recipe +++ b/sys-devel/llvm/llvm-3.3.recipe @@ -1,33 +1,31 @@ -SUMMARY="Modular and reuseable compiler and toolchain technologies." -DESCRIPTION=" -LLVM is a collection of modular and reuseable compiler and and toolchain \ -technologies. -" +SUMMARY="Modular and reuseable compiler and toolchain technologies" +DESCRIPTION="LLVM is a collection of modular and reuseable compiler and \ +toolchain technologies." HOMEPAGE="http://www.llvm.org/" LICENSE="UIUC" -COPYRIGHT="2003-2012 University of Illinois at Urbana-Champaign" -SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" -CHECKSUM_SHA256="68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578" REVISION="1" + ARCHITECTURES="!x86 !x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then ARCHITECTURES="$ARCHITECTURES !x86_gcc2" fi SECONDARY_ARCHITECTURES="!x86" +SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" +CHECKSUM_SHA256="68766b1e70d05a25e2f502e997a3cb3937187a3296595cf6e0977d5cd6727578" +COPYRIGHT="2003-2012 University of Illinois at Urbana-Champaign" +SOURCE_DIR="llvm-${portVersion}.src" + PROVIDES=" llvm$secondaryArchSuffix = $portVersion " - REQUIRES=" haiku$secondaryArchSuffix " - BUILD_REQUIRES=" - " - -BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake @@ -40,8 +38,6 @@ BUILD_PREREQUIRES=" cmd:sed " -SOURCE_DIR="llvm-${portVersion}.src" - PATCH() { find . -type f -exec sed -i 's/\/usr\/bin\/env/\/bin\/env/g' "{}" \; diff --git a/sys-devel/llvm/llvm-3.4.1.recipe b/sys-devel/llvm/llvm-3.4.1.recipe index 65660f64c..19ed6c821 100644 --- a/sys-devel/llvm/llvm-3.4.1.recipe +++ b/sys-devel/llvm/llvm-3.4.1.recipe @@ -1,20 +1,22 @@ -SUMMARY="Modular and reuseable compiler and toolchain technologies." -DESCRIPTION=" -LLVM is a collection of modular and reuseable compiler and and toolchain \ -technologies. -" +SUMMARY="Modular and reuseable compiler and toolchain technologies" +DESCRIPTION="LLVM is a collection of modular and reuseable compiler and \ +toolchain technologies." HOMEPAGE="http://www.llvm.org/" LICENSE="UIUC" -COPYRIGHT="2003-2013 University of Illinois at Urbana-Champaign" -SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" -CHECKSUM_SHA256="7d28bb6eca243a2bb6d65a05743ab915b57958a7770277364e93534b63eef93a" REVISION="1" + ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then ARCHITECTURES="$ARCHITECTURES x86_gcc2" fi SECONDARY_ARCHITECTURES="x86" +COPYRIGHT="2003-2013 University of Illinois at Urbana-Champaign" +SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" +CHECKSUM_SHA256="7d28bb6eca243a2bb6d65a05743ab915b57958a7770277364e93534b63eef93a" +SOURCE_DIR="llvm-$portVersion.src" +PATCHES="llvm-3.4.1.patchset" + PROVIDES=" llvm$secondaryArchSuffix = $portVersion cmd:bugpoint @@ -146,15 +148,12 @@ PROVIDES=" devel:libLLVMipo devel:libLTO " - REQUIRES=" haiku$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix " - BUILD_REQUIRES=" " - BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel cmd:aclocal @@ -171,10 +170,6 @@ BUILD_PREREQUIRES=" cmd:grep " -PATCHES="llvm-3.4.1.patchset" - -SOURCE_DIR="llvm-$portVersion.src" - BUILD() { # Haiku C++ requires rtti in a lot of central system components diff --git a/sys-devel/llvm/llvm-3.4.2.recipe b/sys-devel/llvm/llvm-3.4.2.recipe index 5614a27ea..dba5363d0 100644 --- a/sys-devel/llvm/llvm-3.4.2.recipe +++ b/sys-devel/llvm/llvm-3.4.2.recipe @@ -1,20 +1,22 @@ -SUMMARY="Modular and reuseable compiler and toolchain technologies." -DESCRIPTION=" -LLVM is a collection of modular and reuseable compiler and and toolchain \ -technologies. -" +SUMMARY="Modular and reuseable compiler and toolchain technologies" +DESCRIPTION="LLVM is a collection of modular and reuseable compiler and \ +toolchain technologies." HOMEPAGE="http://www.llvm.org/" LICENSE="UIUC" -COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign" -SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" -CHECKSUM_SHA256="17038d47069ad0700c063caed76f0c7259628b0e79651ce2b540d506f2f1efd7" REVISION="4" + ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then ARCHITECTURES="$ARCHITECTURES x86_gcc2" fi SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" +CHECKSUM_SHA256="17038d47069ad0700c063caed76f0c7259628b0e79651ce2b540d506f2f1efd7" +COPYRIGHT="2003-2014 University of Illinois at Urbana-Champaign" +SOURCE_DIR="llvm-$portVersion.src" +PATCHES="llvm-3.4.2.patchset" + PROVIDES=" llvm$secondaryArchSuffix = $portVersion cmd:bugpoint @@ -146,18 +148,15 @@ PROVIDES=" devel:libLLVMipo$secondaryArchSuffix devel:libLTO$secondaryArchSuffix " - REQUIRES=" haiku$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix lib:libgcc_s$secondaryArchSuffix " - BUILD_REQUIRES=" - " - -BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake @@ -172,10 +171,6 @@ BUILD_PREREQUIRES=" cmd:grep " -PATCHES="llvm-3.4.2.patchset" - -SOURCE_DIR="llvm-$portVersion.src" - BUILD() { # Haiku C++ requires rtti in a lot of central system components diff --git a/sys-devel/llvm/llvm-3.4.recipe b/sys-devel/llvm/llvm-3.4.recipe index 8afa2cc49..d0ceb5709 100644 --- a/sys-devel/llvm/llvm-3.4.recipe +++ b/sys-devel/llvm/llvm-3.4.recipe @@ -1,20 +1,22 @@ -SUMMARY="Modular and reuseable compiler and toolchain technologies." +SUMMARY="Modular and reuseable compiler and toolchain technologies" DESCRIPTION=" -LLVM is a collection of modular and reuseable compiler and and toolchain \ -technologies. -" +LLVM is a collection of modular and reuseable compiler and toolchain \ +technologies." HOMEPAGE="http://www.llvm.org/" LICENSE="UIUC" -COPYRIGHT="2003-2012 University of Illinois at Urbana-Champaign" -SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" -CHECKSUM_SHA256="25a5612d692c48481b9b397e2b55f4870e447966d66c96d655241702d44a2628" REVISION="1" + ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then ARCHITECTURES="$ARCHITECTURES x86_gcc2" fi SECONDARY_ARCHITECTURES="x86" +SOURCE_URI="http://llvm.org/releases/${portVersion}/llvm-${portVersion}.src.tar.gz" +CHECKSUM_SHA256="25a5612d692c48481b9b397e2b55f4870e447966d66c96d655241702d44a2628" +COPYRIGHT="2003-2012 University of Illinois at Urbana-Champaign" +PATCHES="llvm-${portVersion}.patchset" + PROVIDES=" llvm$secondaryArchSuffix = $portVersion cmd:bugpoint @@ -45,17 +47,14 @@ PROVIDES=" cmd:macho_dump cmd:opt " - REQUIRES=" haiku$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix " - BUILD_REQUIRES=" - " - -BUILD_PREREQUIRES=" haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake @@ -68,8 +67,6 @@ BUILD_PREREQUIRES=" cmd:sed " -PATCHES="llvm-${portVersion}.patchset" - PATCH() { find . -type f -exec sed -i 's/\/usr\/bin\/env/\/bin\/env/g' "{}" \;