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
= libwnck
18 COMPONENT_VERSION
= 2.30.7
20 COMPONENT_PROJECT_URL
= http
://www.gnome.org
21 COMPONENT_SUMMARY
= Window Navigator Construction Kit Library
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:8be84d5333f0ade0e61af9f4cbf7685cb7cce2aa0ee32f53bac32107a81fe194
26 COMPONENT_ARCHIVE_URL
= http
://ftp.gnome.org
/pub
/GNOME
/sources
/$(COMPONENT_NAME
)/2.30/$(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
34 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
35 libtoolize
--copy
--force &&\
36 glib-gettextize
-f
&&\
37 intltoolize
--force --copy
&&\
40 automake
-a
-c
-f
&& \
43 COMPONENT_PRE_CONFIGURE_ACTION
= (chmod
-R u
+r
$(SOURCE_DIR
) && cp
-rp
$(SOURCE_DIR
)/* $(@D
) && \
44 cp
-r
$(COMPONENT_DIR
)/files
/po-sun
$(@D
) && \
45 cd
$(@D
)/po-sun
&& $(MAKE
) all )
47 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
48 CONFIGURE_OPTIONS
+= --disable-static
49 CONFIGURE_OPTIONS
+= --enable-introspection
=no
52 build
: $(BUILD_32_and_64
)
54 install: $(INSTALL_32_and_64
)
58 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
60 include $(WS_TOP
)/make-rules
/depend.mk