mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-10 06:51:36 +02:00
fix(net-misc/ntp): don't install extra scripts and docs by default
This commit is contained in:
parent
fdf17bc23a
commit
c296c94a6c
@ -15,7 +15,7 @@ SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${PV:0:3}/${MY_P}.tar
|
||||
LICENSE="HPND BSD ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~m68k-mint"
|
||||
IUSE="caps debug ipv6 openntpd parse-clocks samba selinux snmp ssl vim-syntax zeroconf"
|
||||
IUSE="caps debug doc examples ipv6 openntpd parse-clocks samba selinux snmp ssl vim-syntax zeroconf"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2
|
||||
>=sys-libs/readline-4.1
|
||||
@ -69,10 +69,11 @@ src_install() {
|
||||
|
||||
dodoc INSTALL WHERE-TO-START
|
||||
doman "${WORKDIR}"/man/*.[58]
|
||||
dohtml -r html/*
|
||||
use doc && dohtml -r html/*
|
||||
|
||||
insinto /usr/share/ntp
|
||||
doins "${FILESDIR}"/ntp.conf
|
||||
if use examples; then
|
||||
cp -r scripts/* "${ED}"/usr/share/ntp/ || die
|
||||
use prefix || fperms -R go-w /usr/share/ntp
|
||||
find "${ED}"/usr/share/ntp \
|
||||
@ -82,6 +83,7 @@ src_install() {
|
||||
-name support \
|
||||
')' \
|
||||
-exec rm -r {} \;
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/ntp.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user