wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@1741 | 1 # SliTaz package receipt. |
pascal@1741 | 2 |
pascal@1741 | 3 PACKAGE="ntp" |
pascal@1741 | 4 VERSION="4.2.4p5" |
pascal@1741 | 5 CATEGORY="network" |
pascal@1741 | 6 SHORT_DESC="Network Time Protocol daemon." |
pascal@1741 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1741 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1741 | 9 WEB_SITE="http://www.ntp.org/" |
pascal@1741 | 10 WGET_URL="http://archive.ntp.org/ntp4/$TARBALL" |
pascal@1741 | 11 |
pascal@1741 | 12 # Rules to configure and make the package. |
pascal@1741 | 13 compile_rules() |
pascal@1741 | 14 { |
pascal@1741 | 15 cd $src |
pascal@1741 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1741 | 17 --sysconfdir=/etc --localstatedir=/var \ |
pascal@1741 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
pascal@1741 | 19 make && make DESTDIR=$PWD/_pkg install |
pascal@1741 | 20 } |
pascal@1741 | 21 |
pascal@1741 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1741 | 23 genpkg_rules() |
pascal@1741 | 24 { |
pascal@1741 | 25 mkdir -p $fs/usr |
pascal@1741 | 26 cp -a $_pkg/usr/bin $fs |
pascal@1741 | 27 } |
pascal@1741 | 28 |