61 lines
1.4 KiB
Bash
61 lines
1.4 KiB
Bash
SUMMARY="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"
|
|
COPYRIGHT="1995-2008 Michael Riepe"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="3"
|
|
SOURCE_URI="http://www.mr511.de/software/libelf-0.8.13.tar.gz"
|
|
CHECKSUM_SHA256="591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d"
|
|
PATCHES="libelf-0.8.13.patch"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libelf$secondaryArchSuffix = $portVersion
|
|
lib:libelf$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libelf${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libelf$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
lib:libelf$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize -fci
|
|
autoreconf
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
make install-compat
|
|
prepareInstalledDevelLib libelf
|
|
packageEntries devel $developDir
|
|
}
|