python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / libmagic / Makefile
blob03379f1c1da926001924603ac3828e04bb1e6880
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Jim Klimov
14 # Copyright 2020 Michal Nowak
17 BUILD_BITS= 32_and_64
18 USE_COMMON_TEST_MASTER= no
19 include ../../../make-rules/shared-macros.mk
21 # The primary component delivered here is libmagic.
22 # There is already the "file" utility with true Unix legacy in our OS,
23 # still, for the sake of completeness and to match GNU/Linux userland
24 # we also deliver "gfile" built from darwinsys sources, as a bonus.
25 COMPONENT_NAME= file
26 COMPONENT_VERSION= 5.45
27 COMPONENT_SUMMARY= libmagic for recognizing the type of data contained in a computer file using magic numbers
28 COMPONENT_PROJECT_URL= https://www.darwinsys.com/file/
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
31 COMPONENT_ARCHIVE_HASH= sha256:fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82
32 COMPONENT_ARCHIVE_URL= ftp://ftp.astron.com/pub/file/$(COMPONENT_ARCHIVE)
33 COMPONENT_FMRI= library/magic
34 COMPONENT_CLASSIFICATION= System/Libraries
35 COMPONENT_LICENSE= BSD
36 COMPONENT_LICENSE_FILE= COPYING
38 include $(WS_MAKE_RULES)/common.mk
40 COMPONENT_TEST_TRANSFORMS += \
41 '-n' \
42 '-e "/Running test/p"' \
43 '-e "/\.testfile/p"'
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += SUNWcs
47 REQUIRED_PACKAGES += compress/bzip2
48 REQUIRED_PACKAGES += compress/xz
49 REQUIRED_PACKAGES += compress/zstd
50 REQUIRED_PACKAGES += library/lzlib
51 REQUIRED_PACKAGES += library/zlib
52 REQUIRED_PACKAGES += system/library