# SliTaz package receipt. PACKAGE="vzctl" VERSION="3.0.25.1" CATEGORY="system-tools" SHORT_DESC="OpenVZ containers control utility" MAINTAINER="erjo@slitaz.org" DEPENDS="udev bash procmail bridge-utils logrotate tar gzip" BUILD_DEPENDS="sed" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://wiki.openvz.org/Main_Page" 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 || return 1 touch done.$patch_file done <