gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / x11 / libXmu / Makefile
blobddd64ddf8a0a15cd553415e1a4dc97b0d6bf719e
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 2016 Alexander Pyhalov
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libXmu
19 COMPONENT_VERSION= 1.1.2
20 COMPONENT_FMRI= x11/library/libxmu
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= libXmu - miscellaneous utility functions for Xaw and Xt clients
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b
27 COMPONENT_ARCHIVE_URL= \
28 http://www.x.org/releases/individual/lib/libXmu-1.1.2.tar.bz2
29 COMPONENT_PROJECT_URL = http://www.x.org/
30 COMPONENT_LICENSE= MIT License
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
39 CFLAGS += -I/usr/include/X11/xcms
41 CONFIGURE_OPTIONS += --without-lint
42 CONFIGURE_OPTIONS += --disable-lint-library
44 COMPONENT_BUILD_ARGS += V=1
46 PATH=/usr/gnu/bin:/usr/bin
48 build: $(BUILD_32_and_64)
50 install: $(INSTALL_32_and_64)
52 test: $(NO_TESTS)
54 REQUIRED_PACKAGES += system/library
55 REQUIRED_PACKAGES += system/library/math
56 REQUIRED_PACKAGES += x11/library/libx11
57 REQUIRED_PACKAGES += x11/library/libxext
58 REQUIRED_PACKAGES += x11/library/libxmuu
59 REQUIRED_PACKAGES += x11/library/toolkit/libxt