wok-current diff ntpclient/receipt @ rev 3435

coreutils: Fix (hack) build
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 16:20:43 2009 +0200 (2009-06-13)
parents 5c39f33a1d37
children fdc7f9d423dd
line diff
     1.1 --- a/ntpclient/receipt	Wed Dec 24 10:59:17 2008 +0000
     1.2 +++ b/ntpclient/receipt	Sat Jun 13 16:20:43 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ntpclient"
     1.7 -VERSION="2000_339"
     1.8 +VERSION="2007_365"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Tiny NTP Client"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -13,15 +13,18 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	src=$PACKAGE
    1.17 +	src=$PACKAGE-2007
    1.18  	cd $src
    1.19 +	
    1.20 +	# disable debug
    1.21 +	sed -i 's/\(^CFLAGS += -DENABLE_DEBUG\)/#\1/' Makefile
    1.22  	make 
    1.23  }
    1.24  
    1.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.26  genpkg_rules()
    1.27  {
    1.28 -	src=$PACKAGE		
    1.29 +	src=$PACKAGE-2007		
    1.30  	mkdir -p $fs/usr/bin
    1.31  	cp -a $src/ntpclient  $fs/usr/bin
    1.32  	strip -s $fs/usr/bin/*