rebuild ffmpeg for libvpx-1.15.0; fix gcc-14 problem; add patch for new
[oi-userland.git] / components / sysutils / fcron / Makefile
blob1175d11bf6cb39662b98a8f1966a83255041237a
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 2021 David Stes
16 # Package Makefile for "Frequency Cron" (fcron) by Thibault Godouet
17 # See https://github.com/yo8192/fcron and http://fcron.free.fr/
20 BUILD_BITS=64
22 include ../../../make-rules/shared-macros.mk
24 COMPONENT_NAME= fcron
25 COMPONENT_VERSION= 3.3.1
26 COMPONENT_SUMMARY= Frequency Cron
27 COMPONENT_PROJECT_URL= http://fcron.free.fr
28 COMPONENT_SRC= fcron-$(COMPONENT_VERSION)
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).src.tar.gz
30 COMPONENT_ARCHIVE_HASH= sha256:f359daa08a63ddfb7fe2f964bb3f5c52244c25aa36f9225a3cc54d36f4681106
31 COMPONENT_ARCHIVE_URL= http://fcron.free.fr/archives/$(COMPONENT_ARCHIVE)
32 COMPONENT_FMRI= sysutils/fcron
33 COMPONENT_CLASSIFICATION= System/Administration and Configuration
34 COMPONENT_LICENSE= GPLv2
36 TEST_TARGET= $(NO_TESTS)
37 include $(WS_MAKE_RULES)/common.mk
39 # a modified copy of the sysVinit-launcher script
40 PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
42 CONFIGURE_OPTIONS += --sysconfdir=/etc
43 CONFIGURE_OPTIONS += --with-spooldir=/var/spool/fcron
44 CONFIGURE_OPTIONS += --with-piddir=/var/run
45 CONFIGURE_OPTIONS += --with-fifodir=/var/run
47 # the default username and groupname is fcron/fcron
48 # and the configure script+ Makefile wants to add those interactively
49 # this is fixed by a patch (01-user-group.patch) as option -with-answer-all
50 # is not skipping the actual tests
52 # do not install systemd/rc.d boot install scripts
53 # a simple legacy /etc/init.d script is provided by script/sysVinit-launcher
54 CONFIGURE_OPTIONS += --with-boot-install=no
55 # unable to get pam working
56 CONFIGURE_OPTIONS += --with-pam=no
58 # default install is install-staged + strip + perms (perms set permissions)
60 COMPONENT_INSTALL_TARGETS=install-staged
62 REQUIRED_PACKAGES += editor/vim
63 REQUIRED_PACKAGES += service/network/smtp/sendmail
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES += library/readline
67 REQUIRED_PACKAGES += shell/ksh93
68 REQUIRED_PACKAGES += system/library