
#
# generated by mkskel 0.0.2r28
#

VERSION="0.96.06"
ARCH="i386"
RELEASE="1"

# --------- |-----handy-ruler------------------------------------------------------|
DESCRIPTION="Supporting userspace files for the device-mapper\n
             \n
             Device mapper enables the definition of new block devices composed of\n
             ranges of sectors of existing devices.  This can be used to define\n
             disk partitions - or logical volumes."
# --------- |-----handy-ruler------------------------------------------------------|

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

SOURCE_DIRECTORY="device-mapper.${VERSION}"

PACKAGE_NAME="device-mapper-${VERSION}-${ARCH}-${RELEASE}"

INSTALL_MODE="normal"

DOWNLOAD () { return 0; }

EXTRACT ()
{
  do_extract "device-mapper.0.96.06.tgz"
}

CONFIGURE ()
{
  ./configure --prefix=${PREFIX} \
              --sysconfdir=${SYSCONFDIR}
}

BUILD ()
{
  make
}

INSTALL ()
{
  make -e DESTDIR=${DESTDIR} libdir=${DESTDIR}/lib sbindir=${DESTDIR}/sbin install
  chmod 755 ${DESTDIR}/sbin/dmsetup
}
