2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2014 Artem Shepelev. All rights reserved.
15 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_VERSION
= 3.10.22
20 COMPONENT_SUMMARY
= Arj archiver utility
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_PROJECT_URL
= https
://arj.sourceforge.net
/
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:589e4c9bccc8669e7b6d8d6fcd64e01f6a2c21fe10aad56a83304ecc3b96a7db
25 COMPONENT_ARCHIVE_URL
= https
://arj.sourceforge.net
/files
/$(COMPONENT_ARCHIVE
)
27 TEST_TARGET
= $(NO_TESTS
)
28 include $(WS_MAKE_RULES
)/common.mk
30 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-r
$(SOURCE_DIR
)/* $(BUILD_DIR_
$(BITS
))/)
32 COMPONENT_PREP_ACTION
= (cd
$(SOURCE_DIR
)/gnu
&& autoconf
)
34 CONFIGURE_SCRIPT
= $(SOURCE_DIR
)/gnu
/configure
37 COMPONENT_BUILD_ENV
+= CC
=$(CC
)
38 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
39 COMPONENT_BUILD_ENV
+= LDFLAGS
="$(LDFLAGS)"
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES
+= system
/library