wok-current rev 3125

Up: ntpclient (2007_365) + disable DEBUG
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 19 15:28:24 2009 +0200 (2009-05-19)
parents b9b7f8f5b86d
children 5f4377216419
files ntpclient/receipt
line diff
     1.1 --- a/ntpclient/receipt	Tue May 19 14:56:15 2009 +0200
     1.2 +++ b/ntpclient/receipt	Tue May 19 15:28:24 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/*