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