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.
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.
12 # Copyright 2022 Vincent Torri
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= pkgconf
18 COMPONENT_VERSION
= 2.3.0
19 COMPONENT_SUMMARY
= Package compiler and linker metadata toolkit
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
)
24 COMPONENT_ARCHIVE_HASH
= sha256
:3a9080ac51d03615e7c1910a0a2a8df08424892b5f13b0628a204d3fcce0ea8b
25 COMPONENT_FMRI
= developer
/build
/pkgconf
26 COMPONENT_CLASSIFICATION
= Development
/System
27 COMPONENT_LICENSE
= ISC
28 COMPONENT_LICENSE_FILE
= COPYING
30 # Tests depend upon kyua framework
31 TEST_TARGET
= $(NO_TESTS
)
32 include $(WS_MAKE_RULES
)/common.mk
34 # do not build static library
35 CONFIGURE_OPTIONS
+= --disable-static
37 COMPONENT_BUILD_ENV
+= CC
=$(CC
)
38 COMPONENT_BUILD_ARGS
+= CC
=$(CC
)
39 COMPONENT_INSTALL_ARGS
+= PREFIX
=/usr DESTDIR
=$(PROTO_DIR
)
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES
+= system
/library