Update hexchat to 2.12.0
[unleashed-userland.git] / components / gegl / Makefile
blob265766feb81f11e3b73050091384f57852c8ef04
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 2015 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= gegl
20 COMPONENT_VERSION= 0.2.0
21 COMPONENT_SUMMARY= GEGL (Generic Graphics Library) is a graph based image processing framework
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426
26 COMPONENT_ARCHIVE_URL= \
27 http://ftp.gimp.org/pub/gegl/0.2/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://www.gegl.org/
30 GEGLDOCDIR = $(PROTO_DIR)/usr/share/doc/$(COMPONENT_NAME)
32 # Missing files in build dir for configure without this.
33 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
35 include ../../make-rules/prep.mk
36 include ../../make-rules/configure.mk
37 include ../../make-rules/ips.mk
39 PATH=/usr/gnu/bin:/usr/bin
41 CFLAGS += -std=gnu99
42 CFLAGS.32 = -D_FILE_OFFSET_BITS=64
43 CFLAGS += $(CFLAGS.$(BITS))
45 CONFIGURE_OPTIONS+= --sysconfdir=$(ETCDIR)
46 CONFIGURE_OPTIONS+= --datadir=$(USRSHAREDIR)
47 CONFIGURE_OPTIONS+= --infodir=$(USRSHAREDIR)/info
48 CONFIGURE_OPTIONS+= --without-libspiro
49 CONFIGURE_OPTIONS+= --without-libavformat
50 CONFIGURE_OPTIONS+= --without-libv4l
51 CONFIGURE_OPTIONS+= --enable-workshop
52 CONFIGURE_OPTIONS+= --enable-mmx=no
53 CONFIGURE_OPTIONS+= --enable-sse=no
55 CONFIGURE_ENV.64 += SDL_CONFIG=/usr/bin/$(MACH64)/sdl-config
57 COMPONENT_POST_INSTALL_ACTION += \
58 $(MKDIR) -p $(GEGLDOCDIR) ;
59 COMPONENT_POST_INSTALL_ACTION += \
60 $(CP) $(COMPONENT_SRC)/{AUTHORS,README,ChangeLog,COPYING,NEWS,COPYING.LESSER} $(GEGLDOCDIR) ;
62 build: $(BUILD_32_and_64)
64 install: $(INSTALL_32_and_64)