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
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
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= fuse-ext2
18 COMPONENT_VERSION
= 0.0.10
20 COMPONENT_SUMMARY
= Fuse-ext2 is an EXT2
/EXT3
/EXT4 filesystem for FUSE
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= v
$(COMPONENT_VERSION
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= sha256
:ad2260df4ccfb8ba9f761c66ea7c3b24bf690eab46e6d562d2d2e5a5f2f76dff
24 COMPONENT_ARCHIVE_URL
= https
://github.com
/alperakcan
/fuse-ext2
/archive
/refs
/tags/$(COMPONENT_ARCHIVE
)
25 COMPONENT_PROJECT_URL
= https
://github.com
/alperakcan
/fuse-ext2
26 COMPONENT_FMRI
= library
/fuse-ext2
27 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
28 COMPONENT_LICENSE
= GPLv2
29 COMPONENT_LICENSE_FILE
= COPYING
31 CFLAGS
+= -include /usr
/include/sys
/fm
/io
/disk.h
32 LDFLAGS
+= -luuid
-lcom_err
-lpthread
34 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && ..
/fuse-ext2-0.0
.10/autogen.sh
)
36 CONFIGURE_OPTIONS
+=--host
=x86_64-pc-solaris2.11
38 TEST_TARGET
= $(NO_TESTS
)
39 include $(WS_MAKE_RULES
)/prep-patch.mk
40 include $(WS_MAKE_RULES
)/common.mk
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= library
/libfuse
44 REQUIRED_PACKAGES
+= system
/library
45 REQUIRED_PACKAGES
+= sysutils
/e2fsprogs