wok diff ntp/receipt @ rev 15603

Use install instead of _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:39:07 2013 +0000 (2013-12-06)
parents 67ed985ed744
children 9a5128688a23
line diff
     1.1 --- a/ntp/receipt	Thu Jun 13 18:12:27 2013 +0000
     1.2 +++ b/ntp/receipt	Fri Dec 06 10:39:07 2013 +0000
     1.3 @@ -5,6 +5,7 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Network Time Protocol daemon."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL3"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.ntp.org/"
    1.10  WGET_URL="http://archive.ntp.org/ntp4/$TARBALL"
    1.11 @@ -19,14 +20,14 @@
    1.12  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.13  	--sysconfdir=/etc --localstatedir=/var \
    1.14  	--mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.15 -	make && make DESTDIR=$PWD/_pkg install
    1.16 +	make && make DESTDIR=$DESTDIR install
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr $fs/etc/init.d
    1.23 -	cp -a $_pkg/usr/bin $fs/usr
    1.24 +	cp -a $install/usr/bin $fs/usr
    1.25  	cp stuff/ntp $fs/etc/init.d
    1.26  	cat > $fs/etc/ntp.conf <<EOT
    1.27  server fr.pool.ntp.org