# HG changeset patch # User Eric Joseph-Alexandre # Date 1242739704 -7200 # Node ID bcb2999e13f67245bd40ab1337d94b905a4cd7f9 # Parent b9b7f8f5b86debf9166cb5fe37b83f843c793e88 Up: ntpclient (2007_365) + disable DEBUG diff -r b9b7f8f5b86d -r bcb2999e13f6 ntpclient/receipt --- a/ntpclient/receipt Tue May 19 14:56:15 2009 +0200 +++ b/ntpclient/receipt Tue May 19 15:28:24 2009 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ntpclient" -VERSION="2000_339" +VERSION="2007_365" CATEGORY="system-tools" SHORT_DESC="Tiny NTP Client" MAINTAINER="erjo@slitaz.org" @@ -13,15 +13,18 @@ # Rules to configure and make the package. compile_rules() { - src=$PACKAGE + src=$PACKAGE-2007 cd $src + + # disable debug + sed -i 's/\(^CFLAGS += -DENABLE_DEBUG\)/#\1/' Makefile make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - src=$PACKAGE + src=$PACKAGE-2007 mkdir -p $fs/usr/bin cp -a $src/ntpclient $fs/usr/bin strip -s $fs/usr/bin/*