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
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= logrotate
18 COMPONENT_VERSION
= 3-9-1
19 IPS_COMPONENT_VERSION
= $(subst -,.
,$(COMPONENT_VERSION
))
20 COMPONENT_PROJECT_URL
= https
://github.com
/logrotate
/logrotate
21 COMPONENT_SUMMARY
= Logrotate
- Rotates and compresses log files
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-r
$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:5bf8e478c428e7744fefa465118f8296e7e771c981fb6dffb7527856a0ea3617
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/logrotate
/logrotate
/archive
/r
$(COMPONENT_VERSION
).
tar.gz
27 COMPONENT_LICENSE_FILE
= COPYING
28 COMPONENT_LICENSE
= GPLv2
29 COMPONENT_FMRI
= system
/file
/logrotate
30 COMPONENT_CLASSIFICATION
= System
/Administration and Configuration
32 include $(WS_TOP
)/make-rules
/prep.mk
33 include $(WS_TOP
)/make-rules
/configure.mk
34 include $(WS_TOP
)/make-rules
/ips.mk
36 PATH
=/usr
/gnu
/bin
:/usr
/bin
38 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
39 $(TOUCH
) NEWS README AUTHORS ChangeLog
&&\
40 libtoolize
--copy
--force &&\
48 install: $(INSTALL_32
)