libatomic_ops, fix libVersion, drop old recipe (#13276)

This commit is contained in:
Schrijvers Luc
2025-12-01 07:24:21 +01:00
committed by GitHub
parent 392a896bc3
commit 84234daac5
2 changed files with 2 additions and 69 deletions

View File

@@ -20,8 +20,8 @@ CHECKSUM_SHA256="0db3ebff755db170f65e74a64ec4511812e9ee3185c232eeffeacd274190dfb
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="1.4.0"
libGplVersion="1.4.0"
libVersion="1.3.0"
libGplVersion="1.3.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
libGplVersionCompat="$libGplVersion compat >= ${libGplVersion%%.*}"

View File

@@ -1,67 +0,0 @@
SUMMARY="An atomic memory update operations portable implementation"
DESCRIPTION="Semi-portable access to hardware-provided \
atomic memory update operations on a number architectures \
as said on the github project home."
HOMEPAGE="https://github.com/ivmai/libatomic_ops/"
COPYRIGHT="2003-2011 Hewlett-Packard Development Company, L.P."
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-$portVersion.tar.gz"
CHECKSUM_SHA256="bf210a600dd1becbf7936dd2914cf5f5d3356046904848dcfd27d0c8b12b6f8f"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libatomic_ops$secondaryArchSuffix = $portVersion
lib:libatomic_ops$secondaryArchSuffix = 1.0.3 compat >= 1
lib:libatomic_ops_gpl$secondaryArchSuffix = 1.0.3 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libatomic_ops$secondaryArchSuffix_devel = $portVersion
devel:libatomic_ops$secondaryArchSuffix = 1.0.3 compat >= 1
devel:libatomic_ops_gpl$secondaryArchSuffix = 1.0.3 compat >= 1
"
REQUIRES_devel="
libatomic_ops$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gawk
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:libtool$secondaryArchSuffix
cmd:make
cmd:sed
"
BUILD()
{
runConfigure ./configure --disable-dependency-tracking \
--enable-shared \
--with-gnu-ld
make $jobArgs
}
INSTALL()
{
make install
fixPkgconfig
prepareInstalledDevelLibs \
libatomic_ops libatomic_ops_gpl
# devel package
packageEntries devel \
$developDir $dataDir
}