wok-next view ntp/receipt @ rev 20978
Small improvements
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:34:11 2018 +0300 (2018-09-27) |
parents | c4e53a39395a |
children | d5aab818505e |
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 && make DESTDIR=$DESTDIR install || return 1
20 install -Dm755 $stuff/ntp $install/etc/init.d/ntp
21 install -Dm644 $stuff/ntp.conf $install/etc/ntp.conf
22 }
24 genpkg_rules() {
25 copy @std
26 DEPENDS="openssl readline libcap attr"
27 CONFIG_FILES="/etc/ntp.conf"
28 }