mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
This will add a libatomic_ops recipe made for the Google Code in.
This commit is contained in:
68
sys-libs/libatomic_ops/libatomic_ops-7.4.2.recipe
Normal file
68
sys-libs/libatomic_ops/libatomic_ops-7.4.2.recipe
Normal file
@@ -0,0 +1,68 @@
|
||||
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-7.4.2.tar.gz"
|
||||
CHECKSUM_SHA256="04fa615f62992547bcbda562260e28b504bc4c06e2f985f267f3ade30304b5dd"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86"
|
||||
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="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:gawk
|
||||
cmd:grep
|
||||
cmd:make
|
||||
cmd:sed
|
||||
cmd:libtool
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure --enable-shared \
|
||||
--with-gnu-ld \
|
||||
--disable-dependency-tracking
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libatomic_ops libatomic_ops_gpl
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir $dataDir
|
||||
}
|
||||
Reference in New Issue
Block a user