shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / parted / Makefile
blob392e98d7ea34ff7c6706b14301675ac816545d33
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.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= parted
19 # It's illumos-gate version based on parted 1.8.8
20 # For IPS to perfer it we bumped COMPONENT_VERSION
21 COMPONENT_VERSION= 1.8.8.1
22 COMPONENT_SUMMARY= GNU Parted - Partition Editor
23 COMPONENT_SRC = src
24 COMPONENT_PROJECT_URL = http://www.gnu.org/software/parted/
26 include $(WS_MAKE_RULES)/justmake.mk
27 include $(WS_MAKE_RULES)/ips.mk
29 clobber: clean
31 $(SOURCE_DIR)/.prep:
32 $(TOUCH) $@
34 COMPONENT_BUILD_ENV += CC="$(CC)"
35 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
37 clean::
38 $(RM) $(SOURCE_DIR)/.prep
40 download:
42 build: $(BUILD_32)
44 install: $(INSTALL_32)
46 test: $(NO_TESTS)
48 # Build dependencies
49 REQUIRED_PACKAGES += system/library/libdiskmgt/header-libdiskmgt
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/libdiskmgt