Files
haikuports/sys-devel/libuuid/libuuid-1.0.3.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

67 lines
1.5 KiB
Plaintext

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="http://sourceforge.net/projects/libuuid/"
REVISION="2"
LICENSE="GNU GPL v2"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
COPYRIGHT="2013-2014 Ralph Böhme"
SRC_URI="http://downloads.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz"
CHECKSUM_SHA256="46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644"
PATCHES="libuuid-1.0.3.patchset"
PROVIDES="
libuuid$secondaryArchSuffix = $portVersion
lib:libuuid$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
fixPkgconfig
prepareInstalledDevelLib libuuid
packageEntries devel $developDir
}
TEST()
{
make check
./test_uuid
}
PROVIDES_devel="
libuuid${secondaryArchSuffix}_devel = $portVersion
devel:libuuid$secondaryArchSuffix
"
REQUIRES_devel="
libuuid$secondaryArchSuffix == $portVersion base
"