REQ font-util
[unleashed-userland.git] / components / libgtop / Makefile
blob3f156cd26bacd4ab3a491056340d5a4e23ca7a77
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libgtop
19 COMPONENT_VERSION= 2.28.5
20 # Some historical artefact in package versioning
21 IPS_COMPONENT_VERSION= 2.30.0
22 COMPONENT_SUMMARY= Library to get system specific data
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:c812c174e44a8971a1f33265437cfd10f1e99869c7f5c05f8ee95846a70a3342
27 COMPONENT_ARCHIVE_URL= \
28 http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.28/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL = http://www.gnome.org
31 include ../../make-rules/prep.mk
32 include ../../make-rules/configure.mk
33 include ../../make-rules/ips.mk
35 PATH=/usr/gnu/bin:/usr/bin
37 gcc_OPT = -O2
39 CONFIGURE_OPTIONS += --sysconfdir=/etc
41 CONFIGURE_ENV += PERL=$(PERL)
42 CONFIGURE_ENV += PYTHON=$(PYTHON)
44 COMPONENT_BUILD_ENV += CC="$(CC)"
45 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
47 build: $(BUILD_32_and_64)
49 install: $(INSTALL_32_and_64)
51 test: $(NO_TESTS)