wok-6.x view ntp/receipt @ rev 3045
Add xorg-xf86-input-synaptics (driver and utility)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 12 23:39:56 2009 +0200 (2009-05-12) |
parents | 08bccf8dfcaf |
children | b9b7f8f5b86d |
line source
1 # SliTaz package receipt.
3 PACKAGE="ntp"
4 VERSION="4.2.4p6"
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"
11 DEPENDS="libcrypto readline"
12 CONFIG_FILES="/etc/ntp.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --localstatedir=/var \
20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/etc/init.d
28 cp -a $_pkg/usr/bin $fs/usr
29 cp stuff/ntp $fs/etc/init.d
30 cat > $fs/etc/ntp.conf <<EOT
31 server fr.pool.ntp.org
32 EOT
33 }