libtool: change to new library paths
[unleashed-userland.git] / components / x11 / libXpm / Makefile
bloba3206c07c2ffdae5c57f9e17404a23eb6ffa6dda
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 2015 Aurelien Larcher
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libXpm
19 COMPONENT_VERSION= 3.5.12
20 COMPONENT_FMRI= x11/library/libxpm
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= libXpm - X Pixmap library
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec
27 COMPONENT_ARCHIVE_URL= \
28 http://www.x.org/releases/individual/lib/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL = http://www.x.org/
30 COMPONENT_LICENSE= MIT License
31 COMPONENT_LICENSE_FILE= libXpm.license
33 include $(WS_MAKE_RULES)/prep.mk
34 include $(WS_MAKE_RULES)/configure.mk
35 include $(WS_MAKE_RULES)/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 COMPONENT_PREP_ACTION = ( cp -r $(COMPONENT_DIR)/srcs/* $(SOURCE_DIR) && \
40 cd $(@D) && autoreconf -f -i )
42 CONFIGURE_DEFAULT_DIRS=no
43 CONFIGURE_OPTIONS+= --mandir=$(CONFIGURE_MANDIR)
44 CONFIGURE_OPTIONS+= --bindir=$(USRBINDIR$(BITS))
45 CONFIGURE_OPTIONS+= --libdir=$(CONFIGURE_LIBDIR.$(BITS))
46 CONFIGURE_OPTIONS+= --sbindir=$(USRSBINDIR$(BITS))
47 CONFIGURE_OPTIONS+= --disable-static
48 CONFIGURE_OPTIONS+= --enable-shared
50 LD_OPTIONS_SO += -M$(COMPONENT_DIR)/mapfile-vers
53 build: $(BUILD_32_and_64)
55 install: $(INSTALL_32_and_64)
57 test: $(NO_TESTS)
60 REQUIRED_PACKAGES += system/library
61 REQUIRED_PACKAGES += x11/library/libx11
62 REQUIRED_PACKAGES += x11/library/libxext
63 REQUIRED_PACKAGES += x11/library/toolkit/libxt