gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / editor / dia / Makefile
blob7f5c86982560f444ba3a60e28d44373b711d5620
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 2016 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= dia
18 COMPONENT_VERSION= 0.97.3
19 COMPONENT_REVISION= 1
20 COMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Dia
21 COMPONENT_SUMMARY= Dia Diagram Editor
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:22914e48ef48f894bb5143c5efc3d01ab96e0a0cde80de11058d3b4301377d34
26 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/dia/0.97/$(COMPONENT_ARCHIVE)
28 include $(WS_TOP)/make-rules/prep.mk
29 include $(WS_TOP)/make-rules/configure.mk
30 include $(WS_TOP)/make-rules/ips.mk
32 PATH=/usr/gnu/bin:/usr/bin:/usr/perl5/bin
34 COMPONENT_PREP_ACTION = (cd $(@D) ; autoconf)
36 CONFIGURE_OPTIONS += --sysconfdir=/etc
37 CONFIGURE_OPTIONS += --enable-gnome
38 CONFIGURE_OPTIONS += --with-cairo
39 CONFIGURE_OPTIONS += --disable-static
40 CONFIGURE_OPTIONS += --enable-db2html
42 # common targets
43 build: $(BUILD_32)
45 install: $(INSTALL_32)
47 test: $(NO_TESTS)
49 REQUIRED_PACKAGES += image/library/libart
50 REQUIRED_PACKAGES += image/library/libpng16
51 REQUIRED_PACKAGES += library/desktop/cairo
52 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
53 REQUIRED_PACKAGES += library/desktop/gtk2
54 REQUIRED_PACKAGES += library/desktop/libgnome
55 REQUIRED_PACKAGES += library/desktop/libgnomeui
56 REQUIRED_PACKAGES += library/desktop/pango
57 REQUIRED_PACKAGES += library/glib2
58 REQUIRED_PACKAGES += library/libxml2
59 REQUIRED_PACKAGES += library/libxslt
60 REQUIRED_PACKAGES += library/zlib
61 REQUIRED_PACKAGES += system/library
62 REQUIRED_PACKAGES += system/library/freetype-2
63 REQUIRED_PACKAGES += system/library/math
64 REQUIRED_PACKAGES += text/intltool