python36: add libressl patch
[unleashed-userland.git] / components / shared-mime-info / Makefile
blobbdadb080efcd1acff66ee1112019d69c70f7e37c
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= shared-mime-info
20 COMPONENT_VERSION= 0.90
21 COMPONENT_SUMMARY= application/MIME type registry
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:52c9f84a8c72de631a0458542980b1728560f59845eb5e93e1dbe825f4b72304
26 COMPONENT_ARCHIVE_URL= \
27 http://freedesktop.org/~hadess/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.freedesktop.org/Software/shared-mime-info
30 include ../../make-rules/prep.mk
31 include ../../make-rules/configure.mk
32 include ../../make-rules/ips.mk
34 gcc_OPT = -O2
36 PATH=/usr/gnu/bin:/usr/bin
38 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
40 CONFIGURE_SCRIPT =$(@D)/configure
42 CONFIGURE_ENV+= PERL=$(PERL)
44 COMPONENT_BUILD_ARGS=
46 COMPONENT_INSTALL_TARGET = install-strip
48 build: $(BUILD_32)
50 install: $(INSTALL_32)
52 test: $(TEST_32)