1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= Tool/Lib for generating Universally Unique IDs
9 HOMEPAGE= http://www.ossp.org/pkg/lib/uuid/
13 SITES[main]= http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/
14 ftp://ftp.ntua.gr/pub/utils/ossp/lib/uuid/
15 DISTFILE[1]= uuid-1.6.2.tar.gz:main
17 SPKGS[standard]= complete
22 OPTIONS_AVAILABLE= none
23 OPTIONS_STANDARD= none
25 USES= cmake c++:primary mbsdfix
30 LICENSE_FILE= MIT:{{WRKDIR}}/LICENSE
31 LICENSE_AWK= MIT:"^$$"
32 LICENSE_SOURCE= MIT:{{WRKSRC}}/uuid.c
35 FPC_EQUIVALENT= misc/ossp-uuid
38 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ossp/lib*.so
39 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/uuid
42 # Run gnu configure script to generate config.h
43 (cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} ${SH} configure\
46 --includedir=${PREFIX}/include/ossp \
47 --libdir=${PREFIX}/lib/ossp \
51 ${CP} ${FILESDIR}/CMakeLists.txt ${WRKSRC}/
52 ${CP} ${MK_TEMPLATES}/config.sub ${WRKSRC}/config.sub
53 ${CP} ${MK_TEMPLATES}/config.guess ${WRKSRC}/config.guess
55 [FILE:385:descriptions/desc.primary]
56 OSSP uuid is a ISO-C and Perl application programming interface (API)
57 and corresponding command line interface (CLI) for the generation of
58 DCE 1.1 and ISO/IEC 11578:1996 compliant Universally Unique Identifiers
59 (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node
60 based), version 3 (name based, MD5), version 4 (random number based) and
61 version 5 (name based, SHA-1).
65 11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0 397048 uuid-1.6.2.tar.gz
68 [FILE:108:manifests/plist.primary]
79 [FILE:120:manifests/plist.dev]
88 lib/pkgconfig/ossp-uuid.pc
91 [FILE:95:manifests/plist.man]
100 [FILE:473:patches/patch-uuid.pc.in]
101 --- uuid.pc.in.orig 2008-03-07 10:49:59 UTC
106 exec_prefix=${prefix}
107 -includedir=${prefix}/include
108 -libdir=${exec_prefix}/lib
109 +includedir=@includedir@
113 Description: Universally Unique Identifier (UUID) Library
114 Version: @UUID_VERSION_RAW@
115 URL: http://www.ossp.org/pkg/lib/uuid/
116 Cflags: -I${includedir}
117 -Libs: -L${libdir} -luuid
118 +Libs: -L${libdir} -lossp-uuid
123 [FILE:2168:files/CMakeLists.txt]
124 cmake_minimum_required(VERSION 3.16)
127 SET(CMAKE_SKIP_BUILD_RPATH TRUE)
130 ${CMAKE_SOURCE_DIR}/uuid.c
131 ${CMAKE_SOURCE_DIR}/uuid_md5.c
132 ${CMAKE_SOURCE_DIR}/uuid_sha1.c
133 ${CMAKE_SOURCE_DIR}/uuid_prng.c
134 ${CMAKE_SOURCE_DIR}/uuid_mac.c
135 ${CMAKE_SOURCE_DIR}/uuid_time.c
136 ${CMAKE_SOURCE_DIR}/uuid_ui64.c
137 ${CMAKE_SOURCE_DIR}/uuid_ui128.c
138 ${CMAKE_SOURCE_DIR}/uuid_str.c
141 set (xxsrcs ${CMAKE_SOURCE_DIR}/uuid++.cc)
142 set (uuidsrc ${CMAKE_SOURCE_DIR}/uuid_cli.c)
146 ${CMAKE_CURRENT_BINARY_DIR}
149 add_library(uuid_static ${libsrcs})
150 add_library(uuidxx_static ${libsrcs} ${xxsrcs})
152 add_library(uuid SHARED ${libsrcs})
153 add_library(uuid++ SHARED ${libsrcs} ${xxsrcs})
155 add_executable(cli_uuid ${uuidsrc})
157 target_compile_definitions(uuid_static PUBLIC HAVE_CONFIG_H)
158 target_compile_definitions(uuidxx_static PUBLIC HAVE_CONFIG_H)
159 target_compile_definitions(uuid PUBLIC DHAVE_CONFIG_H)
160 target_compile_definitions(uuid++ PUBLIC HAVE_CONFIG_H)
161 target_compile_definitions(cli_uuid PUBLIC HAVE_CONFIG_H)
163 set_target_properties(uuid uuid++ PROPERTIES
167 target_link_libraries(cli_uuid uuid_static)
171 install(TARGETS uuid uuid++
172 LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/ossp
175 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libuuidxx_static.a
177 DESTINATION lib/ossp)
179 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libuuid_static.a
181 DESTINATION lib/ossp)
183 install(FILES ${CMAKE_SOURCE_DIR}/uuid.1
184 DESTINATION share/man/man1)
186 install(FILES ${CMAKE_SOURCE_DIR}/uuid-config.1
187 DESTINATION share/man/man1)
189 install(FILES ${CMAKE_SOURCE_DIR}/uuid++.3
191 DESTINATION share/man/man3)
193 install(FILES ${CMAKE_SOURCE_DIR}/uuid.3
195 DESTINATION share/man/man3)
197 install(FILES ${CMAKE_SOURCE_DIR}/uuid.pc
199 DESTINATION lib/pkgconfig)
201 install(FILES ${CMAKE_SOURCE_DIR}/uuid++.hh
202 ${CMAKE_SOURCE_DIR}/uuid.h
203 DESTINATION include/ossp)
205 install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/cli_uuid RENAME uuid DESTINATION bin)
206 install(PROGRAMS ${CMAKE_SOURCE_DIR}/uuid-config DESTINATION bin)