From 005af22c6ebe6d17eba365db4aa547635720ef5b Mon Sep 17 00:00:00 2001 From: Humdinger Date: Sun, 19 Jul 2015 14:05:34 +0200 Subject: [PATCH] De-Linting recipes. * bdh-calc License is Zlib. Improved SUMMARY. Minor cosmetics. * daa2iso Removed "." from SUMMARY. Minor cosmetics. * dash Removed "." from SUMMARY. Moved some things into BUILD_PREREQUIRES. * ddrescue Shortened SUMMARY. Added cmd:lzip to BUILD_PREREQUIRES. Minor cosmetics. * diffutils Removed "." from SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * discount Shortened SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * doctranslator Shortened SUMMARY. Corrected checksum. Added SECONDARY_ARCHITECTURES. * dos2unix Removed "." from SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * dtc Improved DESCRIPTION Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * dulwich Removed "." from SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * ed Improved SUMMARY. Took DESCRIPTION from http://www.gnu.org/software/ed/ Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. * edgar Removed "." from SUMMARY. Minor cosmetics. * eepp Shortened SUMMARY. Minor cosmetics. * enca Removed "." from SUMMARY. Minor cosmetics. * enet Removed "." from SUMMARY. Minor cosmetics. * exiv2 Removed "." and improved SUMMARY. Moved haiku_devel into BUILD_REQUIRES. Minor cosmetics. --- app-i18n/enca/enca-1.15.recipe | 11 +++---- games-arcade/edgar/edgar-1.16_1.recipe | 4 +-- games-engines/eepp/eepp-hg.recipe | 43 +++++++++++--------------- media-gfx/exiv2/exiv2-0.24.recipe | 27 +++++++++------- net-libs/enet/enet-1.3.0.recipe | 15 ++++----- sys-apps/dtc/dtc-1.4.1.recipe | 2 +- sys-apps/ed/ed-1.7.recipe | 13 +++++--- 7 files changed, 55 insertions(+), 60 deletions(-) diff --git a/app-i18n/enca/enca-1.15.recipe b/app-i18n/enca/enca-1.15.recipe index 8e9ad25a2..675bca3e8 100644 --- a/app-i18n/enca/enca-1.15.recipe +++ b/app-i18n/enca/enca-1.15.recipe @@ -1,9 +1,8 @@ -SUMMARY="An Extremely Naive Charset Analyser library." -DESCRIPTION=" -Enca is an Extremely Naive Charset Analyser. It detects character set and \ -encoding of text files and can also convert them to other encodings using \ -either a built-in converter or external libraries and tools like libiconv,\ -librecode, or cstocs." +SUMMARY="An Extremely Naive Charset Analyser library" +DESCRIPTION="Enca is an Extremely Naive Charset Analyser. It detects \ +character set and encoding of text files and can also convert them to other \ +encodings using either a built-in converter or external libraries and tools \ +like libiconv, librecode, or cstocs." HOMEPAGE="http://cihar.com/software/enca/" COPYRIGHT=" 2000-2003 David Necas (Yeti) diff --git a/games-arcade/edgar/edgar-1.16_1.recipe b/games-arcade/edgar/edgar-1.16_1.recipe index 1e571310d..9cde2a68b 100644 --- a/games-arcade/edgar/edgar-1.16_1.recipe +++ b/games-arcade/edgar/edgar-1.16_1.recipe @@ -1,4 +1,4 @@ -SUMMARY="The Legend of Edgar is a platform game." +SUMMARY="The Legend of Edgar is a platform game" DESCRIPTION="Edgar must battle his way across the world, solving puzzles and \ defeating powerful enemies to achieve his quest. When Edgar's father fails \ to return home after venturing out one dark and stormy night, Edgar fears the \ @@ -34,7 +34,6 @@ REQUIRES=" lib:libSDL_ttf lib:libz " - BUILD_REQUIRES=" haiku_devel devel:libintl @@ -45,7 +44,6 @@ BUILD_REQUIRES=" devel:libSDL_ttf devel:libz " - BUILD_PREREQUIRES=" cmd:make cmd:gcc diff --git a/games-engines/eepp/eepp-hg.recipe b/games-engines/eepp/eepp-hg.recipe index 728ff54be..3ae5f0fce 100644 --- a/games-engines/eepp/eepp-hg.recipe +++ b/games-engines/eepp/eepp-hg.recipe @@ -1,8 +1,6 @@ -SUMMARY="A C++ 2D game engine designed for an easy cross-platform game development" -DESCRIPTION=" -Entropia Engine++ is a C++ 2D game engine designed for an easy \ -cross-platform game development. -" +SUMMARY="A C++ 2D game engine for easy cross-platform development" +DESCRIPTION="Entropia Engine++ is a C++ 2D game engine designed for an easy \ +cross-platform game development." HOMEPAGE="http://bitbucket.org/SpartanJ/eepp" SOURCE_URI="hg+http://bitbucket.org/SpartanJ/eepp#7318464094366388344fe30e58f521c6b46781b6" REVISION="1" @@ -16,8 +14,14 @@ PROVIDES=" eepp$secondaryArchSuffix = $portVersion lib:libeepp$secondaryArchSuffix = $portVersion lib:libeepp_debug$secondaryArchSuffix = $portVersion -" - + " +PROVIDES_devel=" + eepp${secondaryArchSuffix}_devel = $portVersion + devel:libeepp$secondaryArchSuffix = $portVersion + devel:libeepp_debug$secondaryArchSuffix = $portVersion + devel:libeepp_main$secondaryArchSuffix = $portVersion + devel:libeepp_static_debug$secondaryArchSuffix = $portVersion + " REQUIRES=" haiku$secondaryArchSuffix lib:libsdl2$secondaryArchSuffix @@ -25,8 +29,10 @@ REQUIRES=" lib:libgl$secondaryArchSuffix lib:libgcc_s$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix -" - + " +REQUIRES_devel=" + eepp$secondaryArchSuffix = $portVersion + " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libsdl2$secondaryArchSuffix @@ -34,16 +40,15 @@ BUILD_REQUIRES=" devel:libgl$secondaryArchSuffix lib:libgcc_s$secondaryArchSuffix lib:libstdc++$secondaryArchSuffix -" - + " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:premake4$secondaryArchSuffix cmd:make cmd:hg -" - + " +# intentionally empty SOURCE_DIR="" BUILD() @@ -73,15 +78,3 @@ INSTALL() prepareInstalledDevelLibs libeepp-debug packageEntries devel $developDir } - -PROVIDES_devel=" - eepp${secondaryArchSuffix}_devel = $portVersion - devel:libeepp$secondaryArchSuffix = $portVersion - devel:libeepp_debug$secondaryArchSuffix = $portVersion - devel:libeepp_main$secondaryArchSuffix = $portVersion - devel:libeepp_static_debug$secondaryArchSuffix = $portVersion -" - -REQUIRES_devel=" - eepp$secondaryArchSuffix == $portVersion -" diff --git a/media-gfx/exiv2/exiv2-0.24.recipe b/media-gfx/exiv2/exiv2-0.24.recipe index abea6ca86..89a2b0dd8 100644 --- a/media-gfx/exiv2/exiv2-0.24.recipe +++ b/media-gfx/exiv2/exiv2-0.24.recipe @@ -1,16 +1,16 @@ -SUMMARY="Exiv2 is a C++ library and a command line utility to manage image metadata." -DESCRIPTION="Exiv2 provides fast and easy read and write access to the Exif, IPTC and XMP metadata of images \ -in various formats. Exiv2 is available as free software and with a commercial \ -license, and is used in many projects." +SUMMARY="A C++ library and command line utility to manage image metadata" +DESCRIPTION="Exiv2 provides fast and easy read and write access to the Exif, \ +IPTC and XMP metadata of images in various formats. Exiv2 is available as \ +free software and with a commercial license, and is used in many projects." HOMEPAGE="http://www.exiv2.org/" +SOURCE_URI="http://www.exiv2.org/exiv2-0.24.tar.gz" +CHECKSUM_SHA256="f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e" +REVISION="1" +LICENSE="GNU GPL v2" COPYRIGHT=" 2004-2013 Andreas Huggel 2009 Brad Schick " -LICENSE="GNU GPL v2" -SOURCE_URI="http://www.exiv2.org/exiv2-0.24.tar.gz" -CHECKSUM_SHA256="f4a443e6c7fb9d9f5e787732f76969a64c72c4c04af69b10ed57f949c2dfef8e" -REVISION="1" ARCHITECTURES="x86" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then ARCHITECTURES="x86_gcc2 $ARCHITECTURES" @@ -32,11 +32,11 @@ REQUIRES=" lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel devel:libexpat$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" - haiku${secondaryArchSuffix}_devel cmd:gcc$secondaryArchSuffix cmd:autoconf cmd:make @@ -44,7 +44,8 @@ BUILD_PREREQUIRES=" cmd:find # required by libtool " -BUILD() { +BUILD() +{ cd config autoconf cp configure .. @@ -54,7 +55,8 @@ BUILD() { make $jobArgs } -INSTALL() { +INSTALL() +{ make install prepareInstalledDevelLibs libexiv2 @@ -64,6 +66,9 @@ INSTALL() { $developDir } + +# ----- devel package ------------------------------------------------------- + PROVIDES_devel=" exiv2${secondaryArchSuffix}_devel = $portVersion devel:libexiv2${secondaryArchSuffix} = $portVersion diff --git a/net-libs/enet/enet-1.3.0.recipe b/net-libs/enet/enet-1.3.0.recipe index bed64bae9..bbb2f56c2 100644 --- a/net-libs/enet/enet-1.3.0.recipe +++ b/net-libs/enet/enet-1.3.0.recipe @@ -1,13 +1,12 @@ -SUMMARY="ENet is simple and robust network communication layer." -DESCRIPTION=" -ENet's purpose is to provide a relatively thin, simple and robust network \ -communication layer on top of UDP (User Datagram Protocol). The primary \ -feature it provides is optional reliable, in-order delivery of packets. +SUMMARY="A simple and robust network communication layer" +DESCRIPTION="ENet's purpose is to provide a relatively thin, simple and \ +robust network communication layer on top of UDP (User Datagram Protocol). \ +The primary feature it provides is optional reliable, in-order delivery of \ +packets. ENet omits certain higher level networking features such as authentication, \ lobbying, server discovery, encryption, or other similar tasks that are \ particularly application specific so that the library remains flexible, \ -portable, and easily embeddable. -" +portable, and easily embeddable." HOMEPAGE="http://enet.bespin.org" SOURCE_URI="http://enet.bespin.org/download/enet-1.3.0.tar.gz" CHECKSUM_SHA256="200c271b218979db3bce6d9e60659d3f35a52d698c4972f20eb91a52f0d8d62c" @@ -25,11 +24,9 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix " - BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " - BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix diff --git a/sys-apps/dtc/dtc-1.4.1.recipe b/sys-apps/dtc/dtc-1.4.1.recipe index e8f2d6d8c..aaee77aa3 100644 --- a/sys-apps/dtc/dtc-1.4.1.recipe +++ b/sys-apps/dtc/dtc-1.4.1.recipe @@ -1,6 +1,6 @@ SUMMARY="The Device Tree Compiler" DESCRIPTION="The Device Tree Compiler (DTC) is the toolchain for building \ -device tree source files (*.dts) into the binary format (*.dtb)." +device tree source files (*.dts) into the binary format (*.dtb)." HOMEPAGE="https://git.kernel.org/cgit/utils/dtc/dtc.git" SOURCE_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git#v1.4.1" LICENSE="GNU GPL v2" diff --git a/sys-apps/ed/ed-1.7.recipe b/sys-apps/ed/ed-1.7.recipe index 4047d5090..c9efaaf8b 100644 --- a/sys-apps/ed/ed-1.7.recipe +++ b/sys-apps/ed/ed-1.7.recipe @@ -1,7 +1,9 @@ -SUMMARY="Your basic line editor" -DESCRIPTION=" -Your basic line editor -" +SUMMARY="GNU's line-oriented text editor" +DESCRIPTION="GNU ed is a line-oriented text editor. It is used to create, \ +display, modify and otherwise manipulate text files, both interactively and \ +via shell scripts. A restricted version of ed, red, can only edit files in \ +the current directory and cannot execute shell commands. +Ed is the \"standard\" text editor in the sense that it is the original editor for Unix, and thus widely available." HOMEPAGE="http://www.gnu.org/software/ed/" COPYRIGHT="1992-2010 Free Software Foundation, Inc." LICENSE="GNU GPL v3" @@ -20,6 +22,8 @@ REQUIRES=" " BUILD_REQUIRES=" haiku_devel + " +BUILD_PREREQUIRES=" cmd:gcc cmd:ld cmd:make @@ -27,7 +31,6 @@ BUILD_REQUIRES=" cmd:sed " - BUILD() { runConfigure ./configure