wok-next annotate ntp/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | c4e53a39395a |
children | d5aab818505e |
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@20513 | 18 make && make DESTDIR=$DESTDIR install || return 1 |
al@20513 | 19 |
al@20513 | 20 install -Dm755 $stuff/ntp $install/etc/init.d/ntp |
al@20513 | 21 install -Dm644 $stuff/ntp.conf $install/etc/ntp.conf |
pascal@1741 | 22 } |
pascal@1741 | 23 |
al@20513 | 24 genpkg_rules() { |
al@20513 | 25 copy @std |
al@20513 | 26 DEPENDS="openssl readline libcap attr" |
al@20513 | 27 CONFIG_FILES="/etc/ntp.conf" |
pascal@1741 | 28 } |