rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / library / gtkimageview / Makefile
blob15668baf186f17b3ea7e36dce29c9910ea17e695
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 2015 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= gtkimageview
18 COMPONENT_VERSION= 1.6.4
19 COMPONENT_REVISON= 5
20 COMPONENT_PROJECT_URL= http://trac.bjourne.webfactional.com
21 COMPONENT_SUMMARY= A simple image viewer widget for GTK+
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:67e4c734be69c879101e62ba8573b17b80396ff21e83392d2f7b5af30bf4c3c5
26 # trac.bjourne.webfactional.com is dead
27 COMPONENT_ARCHIVE_URL= http://dlc.openindiana.org/oi/jds/downloads/sources/$(COMPONENT_ARCHIVE)
28 COMPONENT_LICENSE= LGPLv2.1
29 COMPONENT_LICENSE_FILE= COPYING
30 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
31 COMPONENT_FMRI= library/desktop/gtkimageview
33 include $(WS_MAKE_RULES)/prep.mk
34 include $(WS_MAKE_RULES)/configure.mk
35 include $(WS_MAKE_RULES)/ips.mk
37 PATH=$(PATH.gnu)
39 CFLAGS+=-Wno-deprecated-declarations
41 COMPONENT_PREP_ACTION = ( cp files/* $(@D)/src && cd $(@D) && \
42 libtoolize --copy --force &&\
43 aclocal -I . &&\
44 automake -c -f -a &&\
45 autoconf )
47 # Missing files in build dir for configure without this.
48 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
51 CONFIGURE_OPTIONS+= --sysconfdir=/etc
52 CONFIGURE_OPTIONS+= --enable-compile-warnings=no
53 CONFIGURE_OPTIONS+= --disable-gtk-doc
54 CONFIGURE_OPTIONS+= --disable-static
56 CFLAGS += -D__EXTENSIONS__
58 # common targets
59 build: $(BUILD_32_and_64)
61 install: $(INSTALL_32_and_64)
63 test: $(NO_TESTS)
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
67 REQUIRED_PACKAGES += library/desktop/gtk2
68 REQUIRED_PACKAGES += library/glib2
69 REQUIRED_PACKAGES += system/library
70 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc