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
= gnome-system-monitor
18 COMPONENT_VERSION
= 2.28.2
20 COMPONENT_PROJECT_URL
= http
://www.gnome.org
21 COMPONENT_SUMMARY
= GNOME system monitor
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:b628edfd39e3a6b374ce133f367d3568475eb4e981a367f4f9d62a9784e5ae59
26 COMPONENT_ARCHIVE_URL
= http
://ftp.gnome.org
/pub
/GNOME
/sources
/$(COMPONENT_NAME
)/2.28/$(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
) && \
36 libtoolize
--force &&\
37 intltoolize
--force --copy
&&\
42 $(TOUCH
) pixmaps
/side.png
)
44 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-rp
$(SOURCE_DIR
)/* $(@D
) && \
45 cp
-r
$(COMPONENT_DIR
)/files
/po-sun
$(@D
) && \
46 cd
$(@D
)/po-sun
&& $(MAKE
) all )
48 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
49 CONFIGURE_OPTIONS
+= --disable-scrollkeeper
51 CONFIGURE_ENV
+= PYTHON
="$(PYTHON)"
52 CONFIGURE_ENV
+= PERL
="$(PERL)"
54 LDFLAGS
+= -lgmodule-2.0
-lsocket
59 install: $(INSTALL_32
)
63 include $(WS_TOP
)/make-rules
/depend.mk