# HG changeset patch # User Eric Joseph-Alexandre # Date 1295567792 -3600 # Node ID 756516242df349c05532fedd83850268342acde8 # Parent daa2159acc30513c27d5d4ab015e7a3877033f67 Add: vzquota diff -r daa2159acc30 -r 756516242df3 vzquota/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vzquota/receipt Fri Jan 21 00:56:32 2011 +0100 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="vzquota" +VERSION="3.0.12" +CATEGORY="systzm-tools" +SHORT_DESC="Virtuozzo/OpenVZ disk quota control utility" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://openvz.org" +WGET_URL="http://download.openvz.org/utils/$PACKAGE/$VERSION/src/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + # Apply patches + while read patch_file; do + if [ -f done.$patch_file ]; then + echo "Skipping $patch_file" + continue + fi + echo "Apply $patch_file" + patch -p1 < ../stuff/$patch_file || exit 1 + touch done.$patch_file + done < + + /* to include vsscanf() */ +-#define __USE_ISOC99 ++#ifndef __USE_ISOC99 ++ #define __USE_ISOC99 ++#endif ++ + #include + + #include