wok view ntp/receipt @ rev 1741

Add ntp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 22 17:46:29 2008 +0000 (2008-11-22)
parents
children 58eb08d32c24
line source
1 # SliTaz package receipt.
3 PACKAGE="ntp"
4 VERSION="4.2.4p5"
5 CATEGORY="network"
6 SHORT_DESC="Network Time Protocol daemon."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.ntp.org/"
10 WGET_URL="http://archive.ntp.org/ntp4/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --sysconfdir=/etc --localstatedir=/var \
18 --mandir=/usr/share/man $CONFIGURE_ARGS && \
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs
27 }