wok diff ntp/receipt @ rev 1769

Add get-upx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 26 11:51:02 2008 +0000 (2008-11-26)
parents bf6a9f3d30fc
children 08bccf8dfcaf
line diff
     1.1 --- a/ntp/receipt	Sat Nov 22 17:46:29 2008 +0000
     1.2 +++ b/ntp/receipt	Wed Nov 26 11:51:02 2008 +0000
     1.3 @@ -8,6 +8,8 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.ntp.org/"
     1.6  WGET_URL="http://archive.ntp.org/ntp4/$TARBALL"
     1.7 +DEPENDS="libcrypto"
     1.8 +CONFIG_FILES="/etc/ntp.conf"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12 @@ -22,7 +24,11 @@
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {
    1.16 -	mkdir -p $fs/usr
    1.17 -	cp -a $_pkg/usr/bin $fs
    1.18 +	mkdir -p $fs/usr $fs/etc/init.d
    1.19 +	cp -a $_pkg/usr/bin $fs/usr
    1.20 +	cp stuff/ntp $fs/etc/init.d
    1.21 +	cat > $fs/etc/ntp.conf <<EOT
    1.22 +server fr.pool.ntp.org
    1.23 +EOT
    1.24  }
    1.25