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 2011, 2013, EveryCity Ltd. All rights reserved.
13 # Copyright 2013 David Hoeppner. All rights reserved.
15 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_VERSION
= 0.9.9.9
20 COMPONENT_PROJECT_URL
= http
://mhash.sourceforge.net
/
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:3dcad09a63b6f1f634e64168dd398e9feb9925560f9b671ce52283a79604d13e
25 COMPONENT_ARCHIVE_URL
= http
://downloads.sourceforge.net
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
27 include $(WS_MAKE_RULES
)/prep.mk
28 include $(WS_MAKE_RULES
)/configure.mk
29 include $(WS_MAKE_RULES
)/ips.mk
31 COMPONENT_PRE_CONFIGURE_ACTION
+= \
33 rm -f Makefile config.guess config.h config.sub config.status
; \
35 $(CLONEY
) $(SOURCE_DIR
) $(@D
);) \
37 CONFIGURE_OPTIONS
+= --enable-shared
38 CONFIGURE_OPTIONS
+= --disable-static
39 CONFIGURE_OPTIONS
+= --with-pic
42 build
: $(BUILD_32_and_64
)
44 install: $(INSTALL_32_and_64
)
46 test: $(TEST_32_and_64
)
48 REQUIRED_PACKAGES
+= system
/library