diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /sys-apps/syslog-notify/syslog-notify-0.2.ebuild | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'sys-apps/syslog-notify/syslog-notify-0.2.ebuild')
-rw-r--r-- | sys-apps/syslog-notify/syslog-notify-0.2.ebuild | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/sys-apps/syslog-notify/syslog-notify-0.2.ebuild b/sys-apps/syslog-notify/syslog-notify-0.2.ebuild index 35fc40806b20..c77dd707397c 100644 --- a/sys-apps/syslog-notify/syslog-notify-0.2.ebuild +++ b/sys-apps/syslog-notify/syslog-notify-0.2.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit readme.gentoo +EAPI=7 + +inherit readme.gentoo-r1 DESCRIPTION="Notifications for syslog entries via libnotify" HOMEPAGE="https://jtniehof.github.com/syslog-notify/" @@ -11,26 +12,29 @@ SRC_URI="https://github.com/downloads/jtniehof/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND=">=x11-libs/libnotify-0.7" -RDEPEND="${DEPEND} - || ( app-admin/syslog-ng app-admin/rsyslog )" +RDEPEND=" + ${DEPEND} + || ( + app-admin/syslog-ng + app-admin/rsyslog + )" + +src_install() { + default + dodoc HACKING + + dodir /var/spool + keepdir /var/spool -pkg_setup() { - DOCS="AUTHORS CHANGELOG HACKING README" - DISABLE_AUTOFORMATTING="yes" - DOC_CONTENTS="Add the following options on your /etc/syslog-ng/syslog-ng.conf + local DISABLE_AUTOFORMATTING="yes" + local DOC_CONTENTS="Add the following options on your /etc/syslog-ng/syslog-ng.conf file: # destination notify { pipe("/var/spool/syslog-notify"); }; # log { source(src); destination(notify);}; Remember to restart syslog-ng before starting syslog-notify." -} - -src_install() { - default - dodir /var/spool readme.gentoo_create_doc } |