mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Add recipe for libuuid.
This commit is contained in:
63
sys-devel/libuuid/libuuid-1.0.3.recipe
Normal file
63
sys-devel/libuuid/libuuid-1.0.3.recipe
Normal file
@@ -0,0 +1,63 @@
|
||||
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="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
COPYRIGHT="2013-2014 Ralph Böhme"
|
||||
|
||||
SRC_URI="http://downloads.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz"
|
||||
PATCHES="libuuid-1.0.3.patchset"
|
||||
|
||||
PROVIDES="
|
||||
libuuid = $portVersion
|
||||
lib:libuuid = 1.0.0 compat >= 1
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libuuid
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
./test_uuid
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libuuid_devel = $portVersion
|
||||
devel:libuuid
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libuuid == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user