
#
# generated by mkskel 0.0.2r28
#

VERSION="2.4.7"
ARCH="i386"
RELEASE="1"

# --------- |-----handy-ruler------------------------------------------------------|
DESCRIPTION="Archiver & backup program with builtin compression\n
             \n
             Afio makes cpio-format archives.  Afio can make compressed archives\n
             that are much safer than compressed tar or cpio archives. Afio is\n
             best used as an 'archive engine' in a backup script."
# --------- |-----handy-ruler------------------------------------------------------|

PREFIX="/usr"
SYSCONFDIR="/etc"

SOURCE_DIRECTORY="afio-${VERSION}"

PACKAGE_NAME="afio-${VERSION}-${ARCH}-${RELEASE}"

INSTALL_MODE="jail"

DOWNLOAD () { return 0; }

EXTRACT ()
{
  do_extract "afio-2.4.7.tgz"
}

PATCH ()
{
  zcat ${TOPDIR}/patches/Makefile.diff.gz | patch -p0
}

BUILD ()
{
  make
}

INSTALL ()
{
  make -e DESTDIR=${DESTDIR} PREFIX=${PREFIX} install
}
