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 2014 Ken Mays. All rights reserved.
13 # Copyright 2016 Adam Stevko. All rights reserved.
14 # Copyright 2019 Michal Nowak
15 # Copyright 2020, 2024 Andreas Wacknitz
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= iso-codes
21 COMPONENT_VERSION
= 4.17.0
22 COMPONENT_SUMMARY
= ISO code lists and translations
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-v
$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= sha256
:6d178ef4cea44e55f02eb546b29dcf68d88e9f7a68e0dd7913f5465dbaf8fc14
26 COMPONENT_PROJECT_URL
= https
://salsa.debian.org
/iso-codes-team
/$(COMPONENT_NAME
)
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/-/archive
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= data
/iso-codes
29 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Localizations
30 COMPONENT_LICENSE
= LGPLv2.1
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
35 # GNU ln is needed as '-v' option is used, and GNU msgfmt is required
40 # Failure to update symlinks
41 COMPONENT_POST_CONFIGURE_ACTION
= \
42 ( cd
$(@D
); $(GSED
) -i
'/^LN_S/s/s/sfvn/' */Makefile
)
44 # bin/xml_from_json.py script requires a Python 3 interpreter
45 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
47 # Auto-generated dependencies