sudo: remove unnecessary patches
[unleashed-userland.git] / components / gnome-mime-data / Makefile
blobab53827c0bb46c53f5d082fa37eba650691a4cdb
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= gnome-mime-data
20 COMPONENT_VERSION= 2.18.0
21 COMPONENT_SUMMARY= MIME Type and Application Database for the GNOME Desktop
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7
26 COMPONENT_ARCHIVE_URL= \
27 http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.18/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.gnome.org
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_OPTIONS += --sysconfdir=/etc
44 CONFIGURE_ENV+= PERL=$(PERL)
46 COMPONENT_INSTALL_TARGET = install-strip
48 build: $(BUILD_32)
50 install: $(INSTALL_32)
52 test: $(TEST_32)