Fixes to libelf recipe

This commit is contained in:
Ed Robbins
2014-01-04 02:28:36 +00:00
parent a4b978fb7b
commit a99436869b

View File

@@ -1,5 +1,11 @@
SUMMARY="libelf"
DESCRIPTION="libelf - ELF object file access library"
SUMMARY="libelf - ELF object file access library"
DESCRIPTION="
Libelf lets you read, modify or create ELF files in an
architecture-independent way. The library takes care of size and endian
issues, e.g. you can process a file for SPARC processors on an Intel-based
system. This library is a clean-room rewrite of the System V Release 4
library and is source code compatible with it.
"
HOMEPAGE="http://www.mr511.de/software/english.html"
SRC_URI="http://www.mr511.de/software/libelf-0.8.13.tar.gz"
CHECKSUM_MD5="4136d7b4c04df68b686570afa26988ac"
@@ -8,7 +14,6 @@ COPYRIGHT="1995-2008 Michael Riepe"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
SOURCE_DIR="$portVersionedName"
PATCHES="libelf-0.8.13.patch"
PROVIDES="
@@ -17,12 +22,13 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES=""
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc
cmd:ld
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:autoreconf
cmd:make
@@ -45,9 +51,10 @@ INSTALL()
}
PROVIDES_devel="
libelf${secondaryArchSuffix}_devel = $portVersion
devel:libelf$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
lib:libelf$secondaryArchSuffix == $portVersion
lib:libelf$secondaryArchSuffix == $portVersion base
"