wok-next view ntp/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }