shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / e2fsprogs / Makefile
blob63d051111a22e800589953f2b9359733d3447616
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.
12 # Copyright 2022 Stephan Althaus
13 # Copyright 2023 Niklas Poslovski
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= e2fsprogs
19 COMPONENT_VERSION= 1.47.0
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= Second extended file system (ext2fs) management programs
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db
26 COMPONENT_ARCHIVE_URL= \
27 https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= https://e2fsprogs.sourceforge.net/
29 COMPONENT_FMRI= sysutils/e2fsprogs
30 COMPONENT_CLASSIFICATION= Applications/System Utilities
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= NOTICE
34 TEST_TARGET= $(NO_TESTS)
35 include $(WS_MAKE_RULES)/prep-patch.mk
36 include $(WS_MAKE_RULES)/common.mk
38 COMPONENT_PRE_BUILD_ACTION= patches/convert-Makefiles.sh $(@D)
40 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
41 CONFIGURE_OPTIONS += --enable-libblkid
42 CONFIGURE_OPTIONS += --disable-libuuid
43 CONFIGURE_OPTIONS += --enable-elf-shlibs
44 CONFIGURE_OPTIONS += --enable-fsck=no
45 CONFIGURE_OPTIONS += --without-pthread
47 LIBUUID= -luuid
48 STATIC_LIBUUID= -luuid
49 PROFILED_LIBUUID= -luuid
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += shell/ksh93
53 REQUIRED_PACKAGES += system/library