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 (c) 2014 Alexander Pyhalov
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= gthumb
18 COMPONENT_VERSION
= 2.14.4
19 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Apps
/gthumb
20 COMPONENT_SUMMARY
= GNOME image organizer
(gthumb
)
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:1561ca52f9b60fbcd0e8fc976de8b30f0447019c698bfe1051d421935b5a51b5
25 COMPONENT_ARCHIVE_URL
= http
://ftp.gnome.org
/pub
/GNOME
/sources
/$(COMPONENT_NAME
)/2.14/$(COMPONENT_ARCHIVE
)
27 include $(WS_TOP
)/make-rules
/prep.mk
28 include $(WS_TOP
)/make-rules
/configure.mk
29 include $(WS_TOP
)/make-rules
/ips.mk
31 PATH
=/usr
/gnu
/bin
:/usr
/bin
:/usr
/perl5
/bin
33 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-r
$(SOURCE_DIR
)/* $(@D
) && \
34 cp
-r
$(COMPONENT_DIR
)/files
/po-sun
$(@D
) && \
35 cd
$(@D
)/po-sun
&& $(MAKE
) all &&\
36 cd
$(@D
) && libtoolize
--force --copy
&&\
37 intltoolize
--force --copy
--automake
&&\
40 automake
-a
-f
-c
--gnu
&&\
43 CONFIGURE_SCRIPT
= $(@D
)/configure
45 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
46 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
47 CONFIGURE_OPTIONS
+= --disable-scrollkeeper
48 CONFIGURE_OPTIONS
+= --disable-schemas-install
50 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
55 install: $(INSTALL_32
)