wok-next view ntp/receipt @ rev 21420
updated puzzles ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:23:45 2020 +0100 (2020-04-27) |
parents | d43bf7aae921 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ntp"
4 VERSION="4.2.8p11"
5 CATEGORY="network"
6 SHORT_DESC="Network Time Protocol daemon"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.ntp.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/$TARBALL"
14 compile_rules() {
15 sed -i 's/MOD_NANO/0/' ntpd/ntp_loopfilter.c
17 ./configure $CONFIGURE_ARGS &&
18 make &&
19 make DESTDIR=$install install || return 1
21 install -Dm755 $stuff/ntp $install/etc/init.d/ntp
22 install -Dm644 $stuff/ntp.conf $install/etc/ntp.conf
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="openssl readline libcap attr"
28 CONFIG_FILES="/etc/ntp.conf"
29 }