pkgsrc/sysutils/dmsdos/Makefile
mef 817409ca50 Updated sysutils/dmsdos to 0.9.2.3-pre2-alt2
----------------------------------------------------------------------
  The project is long time abandoned but it can be still usable to rescue
  data from old STACKER and DOUBLESPACE volumes.

  The version dmsdos-0.9.2.3-pre2-alt2 is based on patches found at
    http://packages.altlinux.org/en/Sisyphus/srpms/dmsdos/get

   2012-06-07 Fr. Br. George <george at altlinux.ru> 0.9.2.3-alt2
      - Fix gcc4.6 build

   2012-03-25 Fr. Br. George <george at altlinux.ru> 0.9.2.3-alt1
      - Initial build

  The modified version disables kernel code build which allows
  to build userspace tools for volume dump.

(pkgsrc changes)
 - LICENSE=       gnu-gpl-v2
 - Drop two patches, alt2 version included them.
2017-05-27 22:16:46 +00:00

31 lines
906 B
Makefile

# $NetBSD: Makefile,v 1.4 2017/05/27 22:16:46 mef Exp $
#
DISTNAME= dmsdos-0.9.2.3-pre2-alt2
PKGNAME= dmsdos-0.9.2.3pre2alt2
CATEGORIES= sysutils
MASTER_SITES= http://cmp.felk.cvut.cz/~pisa/dmsdos/sources/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cmp.felk.cvut.cz/~pisa/dmsdos/
COMMENT= Program to access DBLSPACE/DRVSPACE containers
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/dmsdos-0.9.2.3-pre2-alt2/src
F= mcdmsdos.c dblspace_dec.c lib_interface.c dblspace_interface.c \
dblspace_chk.c dblspace_tables.c dstacker_alloc.c dblspace_alloc.c \
dblspace_compr.c dstacker_compr.c dstacker_dec.c dblspace_methsq.c
INSTALLATION_DIRS= bin
do-configure:
${CP} ${WRKSRC}/dmsdos-config.h.default ${WRKSRC}/dmsdos-config.h
do-build:
cd ${WRKSRC} && ${CC} -D__DMSDOS_LIB__ ${F} -o mcdmsdos
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mcdmsdos ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"