From aef616ad98d4535f55fa8ea34be6f7ec9dc0c102 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 15 Oct 2019 18:35:59 +0000 Subject: [PATCH] libuuid: Bump to 1.3.1 for gcc2 fixes --- sys-devel/libuuid/libuuid-1.3.1.recipe | 67 ++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 sys-devel/libuuid/libuuid-1.3.1.recipe diff --git a/sys-devel/libuuid/libuuid-1.3.1.recipe b/sys-devel/libuuid/libuuid-1.3.1.recipe new file mode 100644 index 000000000..56c9b75d1 --- /dev/null +++ b/sys-devel/libuuid/libuuid-1.3.1.recipe @@ -0,0 +1,67 @@ +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://gitlab.com/kallisti5/libuuid" +COPYRIGHT="2013-2014 Ralph Böhme" +LICENSE="BSD (3-clause)" +REVISION="1" +SOURCE_URI="https://gitlab.com/kallisti5/libuuid/-/archive/v${portVersion}/libuuid-v${portVersion}.tar.gz" +SOURCE_DIR="libuuid-v${portVersion}" +CHECKSUM_SHA256="5c4985534b5a8a4c3100e298a6cbb30b6bbf1800a6bab39e214a3bcdb0cd5aed" + +ARCHITECTURES="x86_gcc2 x86 x86_64 arm riscv64 ppc sparc" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + libuuid$secondaryArchSuffix = $portVersion + lib:libuuid$secondaryArchSuffix = $portVersion compat >= 1.3 + " +REQUIRES=" + haiku$secondaryArchSuffix + " +CONFLICTS=" + lib:libuuid$secondaryArchSuffix + " + +PROVIDES_devel=" + libuuid${secondaryArchSuffix}_devel = $portVersion + devel:libuuid$secondaryArchSuffix = $portVersion compat >= 1.3 + " +REQUIRES_devel=" + libuuid$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:scons + " + +BUILD() +{ + scons --prefix=$prefix --lib-dir=$libDir --exec-prefix=$libExecDir --inc-dir=$includeDir --man-dir=$manDir $jobArgs +} + +INSTALL() +{ + scons --prefix=$prefix --lib-dir=$libDir --exec-prefix=$libExecDir --inc-dir=$includeDir --man-dir=$manDir install + + fixPkgconfig + + prepareInstalledDevelLib libuuid + packageEntries devel $developDir +} + +TEST() +{ + scons + ./src/test_uuid +}