# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2015 Aurelien Larcher # X11_CATEGORY=LIB include ../../../make-rules/shared-macros.mk include $(WS_MAKE_RULES)/x11.mk COMPONENT_NAME= libXpm COMPONENT_VERSION= 3.5.17 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= libXpm - X Pixmap library COMPONENT_ARCHIVE_EXTENSION= .tar.xz COMPONENT_ARCHIVE_HASH= sha256:64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43 COMPONENT_FMRI= x11/library/libxpm COMPONENT_LICENSE_FILE= COPYING include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION = ( cd $(@D) && PATH="$(PATH)" autoreconf -fi ) CONFIGURE_OPTIONS+= --disable-static CONFIGURE_OPTIONS+= --enable-shared # Drop 32-bit binaries COMPONENT_POST_INSTALL_ACTION += $(RM) -r $(PROTOUSRBINDIR32) ; # Auto-generated dependencies REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += x11/library/libx11 REQUIRED_PACKAGES += x11/library/libxext REQUIRED_PACKAGES += x11/library/toolkit/libxt