0
0
Fork 0
haikuports/sys-devel/libuuid/libuuid-1.0.3.recipe

70 lines
1.6 KiB
Bash
Raw Permalink Normal View History

2014-10-22 19:19:47 +00:00
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\"."
2018-05-30 05:43:16 +00:00
HOMEPAGE="https://sourceforge.net/projects/libuuid/"
2014-10-22 19:19:47 +00:00
COPYRIGHT="2013-2014 Ralph Böhme"
LICENSE="GNU GPL v2"
REVISION="6"
2018-05-30 05:43:16 +00:00
SOURCE_URI="https://downloads.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz"
CHECKSUM_SHA256="46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644"
2014-10-22 19:19:47 +00:00
PATCHES="libuuid-1.0.3.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
2014-10-22 19:19:47 +00:00
PROVIDES="
libuuid$secondaryArchSuffix = $portVersion
lib:libuuid$secondaryArchSuffix = 1.0.0 compat >= 1
"
2014-10-22 19:19:47 +00:00
REQUIRES="
haiku$secondaryArchSuffix
"
CONFLICTS="
lib:libuuid$secondaryArchSuffix
"
2014-10-22 19:19:47 +00:00
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="
2014-10-22 19:19:47 +00:00
cmd:awk
cmd:gcc$secondaryArchSuffix
2014-10-22 19:19:47 +00:00
cmd:make
"
2014-10-22 19:19:47 +00:00
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
fixPkgconfig
rm $libDir/libuuid.la
2014-10-22 19:19:47 +00:00
prepareInstalledDevelLib libuuid
packageEntries devel $developDir
}
TEST()
{
make check
./test_uuid
}