mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
libelf, remove static library (#8538)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
SUMMARY="ELF object file access library"
|
||||
DESCRIPTION="
|
||||
Libelf lets you read, modify or create ELF files in an architecture-independent \
|
||||
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 \
|
||||
@@ -8,17 +7,20 @@ 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"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://fossies.org/linux/misc/old/libelf-0.8.13.tar.gz"
|
||||
CHECKSUM_SHA256="591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d"
|
||||
PATCHES="libelf-0.8.13.patch"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
libelf$secondaryArchSuffix = $portVersion
|
||||
lib:libelf$secondaryArchSuffix = $portVersion
|
||||
lib:libelf$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -26,7 +28,7 @@ REQUIRES="
|
||||
|
||||
PROVIDES_devel="
|
||||
libelf${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libelf$secondaryArchSuffix = $portVersion
|
||||
devel:libelf$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
lib:libelf$secondaryArchSuffix == $portVersion base
|
||||
@@ -47,7 +49,7 @@ BUILD()
|
||||
{
|
||||
libtoolize -fci
|
||||
autoreconf
|
||||
runConfigure ./configure
|
||||
runConfigure ./configure --disable-nls
|
||||
make
|
||||
}
|
||||
|
||||
@@ -55,6 +57,12 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
make install-compat
|
||||
|
||||
# remove static library
|
||||
rm -f $libDir/libelf.a
|
||||
|
||||
prepareInstalledDevelLib libelf
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user