# HG changeset patch # User Pascal Bellard # Date 1227375989 0 # Node ID bf6a9f3d30fc0333e619107df044df0a0fec951b # Parent e70cdc547c7d24e93fbfce0eaa8e7081f137f9f3 Add ntp diff -r e70cdc547c7d -r bf6a9f3d30fc ntp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ntp/receipt Sat Nov 22 17:46:29 2008 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="ntp" +VERSION="4.2.4p5" +CATEGORY="network" +SHORT_DESC="Network Time Protocol daemon." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.ntp.org/" +WGET_URL="http://archive.ntp.org/ntp4/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --sysconfdir=/etc --localstatedir=/var \ + --mandir=/usr/share/man $CONFIGURE_ARGS && \ + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs +} +