mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
boehm_gc: bump to 7.6.8, fix COPYRIGHT (#2919)
This commit is contained in:
91
dev-libs/boehm_gc/boehm_gc-7.6.8.recipe
Normal file
91
dev-libs/boehm_gc/boehm_gc-7.6.8.recipe
Normal file
@@ -0,0 +1,91 @@
|
||||
SUMMARY="The Boehm-Demers-Weiser conservative garbage collector"
|
||||
DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector can be \
|
||||
used as a garbage collecting replacement for C malloc or C++ new. It allows \
|
||||
you to allocate memory basically as you normally would, without explicitly \
|
||||
deallocating memory that is no longer useful. The collector automatically \
|
||||
recycles memory when it determines that it can no longer be otherwise \
|
||||
accessed."
|
||||
HOMEPAGE="http://www.hboehm.info/gc/"
|
||||
COPYRIGHT="1988, 1989 Hans-J. Boehm, Alan J. Demers
|
||||
1991-1996 Xerox Corporation
|
||||
1996-1999 Silicon Graphics
|
||||
1998 Fergus Henderson
|
||||
1999-2011 Hewlett-Packard Development Company, L.P.
|
||||
2001 Red Hat, Inc.
|
||||
2004-2005 Andrei Polushin
|
||||
2007 Free Software Foundation, Inc.
|
||||
2008-2018 Ivan Maidanski
|
||||
2011 Ludovic Courtes"
|
||||
LICENSE="Boehm"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/ivmai/bdwgc/releases/download/v$portVersion/gc-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="040ac5cdbf1bebc7c8cd4928996bbae0c54497c151ea5639838fa0128102e258"
|
||||
SOURCE_DIR="gc-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libcordVersion=1.3.1
|
||||
libgcVersion=1.3.4
|
||||
libcordVersionCompat="$libcordVersion compat >= ${libcordVersion%%.*}"
|
||||
libgcVersionCompat="$libgcVersion compat >= ${libgcVersion%%.*}"
|
||||
portVersionCompat="$portVersion compat >= ${portVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
boehm_gc$secondaryArchSuffix = $portVersionCompat
|
||||
lib:libcord$secondaryArchSuffix = $libcordVersionCompat
|
||||
lib:libgc$secondaryArchSuffix = $libgcVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libatomic_ops$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
boehm_gc${secondaryArchSuffix}_devel = $portVersionCompat
|
||||
devel:libcord$secondaryArchSuffix = $libcordVersionCompat
|
||||
devel:libgc$secondaryArchSuffix = $libgcVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
boehm_gc$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libatomic_ops$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:autoreconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage boehm_gc$secondaryArchSuffix \
|
||||
"$libDir"/libcord.so.$libcordVersion \
|
||||
"$libDir"/libgc.so.$libgcVersion
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure --enable-large-config \
|
||||
--enable-parallel-mark
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
rm -f "$libDir"/lib*.la
|
||||
prepareInstalledDevelLibs libgc libcord
|
||||
fixPkgconfig
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user