70 lines
1.6 KiB
Bash
70 lines
1.6 KiB
Bash
SUMMARY="Portable uuid C library"
|
|
DESCRIPTION="A universally unique identifier (UUID) is an identifier standard \
|
|
used in software construction, standardized by the Open Software Foundation \
|
|
(OSF) as part of the Distributed Computing Environment (DCE).
|
|
|
|
The intent of UUIDs is to enable distributed systems to uniquely identify \
|
|
information without significant central coordination. In this context the word \
|
|
unique should be taken to mean \"practically unique\" rather than \"guaranteed \
|
|
unique\"."
|
|
HOMEPAGE="https://sourceforge.net/projects/libuuid/"
|
|
COPYRIGHT="2013-2014 Ralph Böhme"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="6"
|
|
SOURCE_URI="https://downloads.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz"
|
|
CHECKSUM_SHA256="46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644"
|
|
PATCHES="libuuid-1.0.3.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libuuid$secondaryArchSuffix = $portVersion
|
|
lib:libuuid$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
CONFLICTS="
|
|
lib:libuuid$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libuuid${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libuuid$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libuuid$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
fixPkgconfig
|
|
rm $libDir/libuuid.la
|
|
prepareInstalledDevelLib libuuid
|
|
packageEntries devel $developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
./test_uuid
|
|
}
|