shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / logrotate / Makefile
blob92511696a59acefba6100c50c610f74d16862be8
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 2015 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
14 # Copyright 2020, 2022 Nona Hansel
15 # Copyright 2022 Niklas Poslovski
18 BUILD_BITS= 64
19 USE_DEFAULT_TEST_TRANSFORMS= yes
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= logrotate
23 COMPONENT_VERSION= 3.21.0
24 COMPONENT_SUMMARY= Logrotate - Rotates and compresses log files
25 COMPONENT_PROJECT_URL= https://github.com/logrotate/logrotate
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= sha256:1680947a9431de1aaa629fedde358696ff49a808ae903feecf996682949e3cff
30 COMPONENT_FMRI= system/file/logrotate
31 COMPONENT_CLASSIFICATION= System/Administration and Configuration
32 COMPONENT_LICENSE= GPLv2
33 COMPONENT_LICENSE_FILE= COPYING
35 include $(WS_MAKE_RULES)/common.mk
37 COMPONENT_PREP_ACTION = ( cd $(@D) && autoreconf -f -i )
39 PATH = $(PATH.gnu)
41 # Tests otherwise fail
42 unexport SHELLOPTS
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += library/popt
46 REQUIRED_PACKAGES += system/library