Recipe cosmetics: improved SUMMARY/DESCRIPTION, re-ordered blocks.

This commit is contained in:
Humdinger
2015-09-04 15:02:11 +02:00
parent 5676d46cd9
commit 062af5ca5e
4 changed files with 74 additions and 55 deletions

View File

@@ -1,15 +1,15 @@
SUMMARY="Library for inspecting a program's backtrace"
DESCRIPTION="
This is a quick-n-dirty BSD licensed clone of backtrace facility found in the \
GNU libc, mainly intended for porting linuxish code to BSD platforms, however \
it can be used at any platform which has a gcc compiler.
"
DESCRIPTION="This is a quick-n-dirty BSD licensed clone of backtrace facility \
found in the GNU libc, mainly intended for porting linuxish code to BSD \
platforms, however it can be used at any platform which has a GCC compiler."
HOMEPAGE="http://www.freshports.org/devel/libexecinfo"
COPYRIGHT="2003-2014 Maxim Sobolev"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/itetcu/libexecinfo-1.1.tar.bz2"
CHECKSUM_SHA256="c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f"
REVISION="1"
PATCHES="libexecinfo-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86 x86_gcc2"
@@ -20,17 +20,24 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libexecinfo${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libexecinfo${secondaryArchSuffix} = $portVersion compat >= 1
"
REQUIRES_devel="
libexecinfo${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
PATCHES="libexecinfo-$portVersion.patchset"
BUILD()
{
gcc -c -o execinfo.o execinfo.c
@@ -60,14 +67,4 @@ TEST()
{
gcc test.c -o test libexecinfo.a
./test
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libexecinfo${secondaryArchSuffix}_devel = $portVersion compat >= 1
devel:libexecinfo${secondaryArchSuffix} = $portVersion compat >= 1
"
REQUIRES_devel="
libexecinfo${secondaryArchSuffix} == $portVersion base
"
}