Marcel Telka
2024-04-05 f228266143fa00a0d993ef25540014f5fea6ca10
commit | author | age
53b95d 1 #
V 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2022 Vincent Torri
13 #
14
15 include ../../../make-rules/shared-macros.mk
16
17 COMPONENT_NAME=           pkgconf
04911c 18 COMPONENT_VERSION=        2.1.1
53b95d 19 COMPONENT_SUMMARY=        Package compiler and linker metadata toolkit
V 20 COMPONENT_PROJECT_URL=    http://pkgconf.org/
21 COMPONENT_SRC=            $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE=        $(COMPONENT_SRC).tar.xz
23 COMPONENT_ARCHIVE_URL=    https://distfiles.dereferenced.org/pkgconf/$(COMPONENT_ARCHIVE)
04911c 24 COMPONENT_ARCHIVE_HASH=   sha256:3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5
53b95d 25 COMPONENT_FMRI=           developer/build/pkgconf
V 26 COMPONENT_CLASSIFICATION= Development/System
27 COMPONENT_LICENSE=        ISC
e04f6a 28 COMPONENT_LICENSE_FILE=   COPYING
53b95d 29
04911c 30 # Tests depend upon kyua framework
AW 31 TEST_TARGET= $(NO_TESTS)
53b95d 32 include $(WS_MAKE_RULES)/common.mk
V 33
34 # do not build static library
35 CONFIGURE_OPTIONS += --disable-static
36
37 COMPONENT_BUILD_ENV += CC=$(CC)
38 COMPONENT_BUILD_ARGS += CC=$(CC)
39 COMPONENT_INSTALL_ARGS += PREFIX=/usr DESTDIR=$(PROTO_DIR)
40
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += system/library