shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / ntfsprogs / Makefile
blobaf5cb70d9fbe6ec02de7aaa35bc6e90fced58108
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 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2016 Adam Stevko. All rights reserved.
15 # Copyright 2017 Andreas Grueninger, Grueninger GmbH, (grueni). All rights reserved.
16 # Copyright 2021-2022 Jean-Pierre André. All rights reserved.
17 # Copyright 2023 Niklas Poslovski
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= ntfs-3g_ntfsprogs
23 COMPONENT_VERSION= 2022.10.3
24 COMPONENT_SUMMARY= ntfsprogs - Utilities that provide access to NTFS
25 COMPONENT_SRC= ntfs-3g-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= sha256:8bd7749ea9d8534c9f0664d48b576e90b96d45ec8803c9427f6ffaa2f0dde299
28 COMPONENT_ARCHIVE_URL= https://github.com/tuxera/ntfs-3g/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
29 COMPONENT_PROJECT_URL = https://github.com/tuxera/ntfs-3g/
30 COMPONENT_FMRI= system/file-system/ntfsprogs
31 COMPONENT_CLASSIFICATION= System/Administration and Configuration
32 COMPONENT_LICENSE= GPLv2, LGPLv2
33 COMPONENT_LICENSE_FILE= ntfsprogs.license
35 TEST_TARGET= $(NO_TESTS)
36 include $(WS_MAKE_RULES)/common.mk
38 PATH=$(PATH.gnu)
40 CFLAGS += -D__LITTLE_ENDIAN=1234
41 CFLAGS += -D__BYTE_ORDER=1234
43 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
45 CONFIGURE_OPTIONS += --exec-prefix=/usr
46 CONFIGURE_OPTIONS += --enable-xattr-mappings
47 CONFIGURE_OPTIONS += --with-fuse=external
48 CONFIGURE_OPTIONS += --disable-static
50 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/libfuse
54 REQUIRED_PACKAGES += shell/ksh93
55 REQUIRED_PACKAGES += system/library