diff options
author | obache <obache@pkgsrc.org> | 2008-07-28 14:08:07 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-07-28 14:08:07 +0000 |
commit | 6258eb0fb60cb20188098e7bd6150941b99996ce (patch) | |
tree | 1897cb719b654d8d8095e559799818ab864b1d03 /sysutils | |
parent | fa5a349b0488191a6347b7336d0d67a50cdaa36f (diff) | |
download | pkgsrc-6258eb0fb60cb20188098e7bd6150941b99996ce.tar.gz |
Import ddrescue-1.8.
Based on PR 39202 by Edgar Fuss, some fixes and improvement by me.
GNU ddrescue is a data recovery tool. It copies data from one file or block
device (hard disc, cdrom, etc) to another, trying hard to rescue data in case
of read errors.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ddrescue/DESCR | 3 | ||||
-rw-r--r-- | sysutils/ddrescue/Makefile | 37 | ||||
-rw-r--r-- | sysutils/ddrescue/PLIST | 4 | ||||
-rw-r--r-- | sysutils/ddrescue/distinfo | 5 |
4 files changed, 49 insertions, 0 deletions
diff --git a/sysutils/ddrescue/DESCR b/sysutils/ddrescue/DESCR new file mode 100644 index 00000000000..82fb2845e65 --- /dev/null +++ b/sysutils/ddrescue/DESCR @@ -0,0 +1,3 @@ +GNU ddrescue is a data recovery tool. It copies data from one file or block +device (hard disc, cdrom, etc) to another, trying hard to rescue data in case +of read errors. diff --git a/sysutils/ddrescue/Makefile b/sysutils/ddrescue/Makefile new file mode 100644 index 00000000000..ff6dbf5b81c --- /dev/null +++ b/sysutils/ddrescue/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/07/28 14:08:07 obache Exp $ + +DISTNAME= ddrescue-1.8 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_GNU:=ddrescue/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= ef@math.uni-bonn.de +HOMEPAGE= http://www.gnu.org/software/ddrescue/ddrescue.html +COMMENT= GNU ddrescue is a data recovery tool + +#LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +HAS_CONFIGURE= YES +USE_LANGUAGES= c++ +INFO_FILES= YES + +CONFIGURE_ARGS+= CC=${CC:Q} CXX=${CXX:Q} CPPFLAGS=${CPPFLAGS:Q} +CONFIGURE_ARGS+= CFLAGS=${CFLAGS:Q} CXXFLAGS=${CXXFLAGS:Q} +CONFIGURE_ARGS+= LDFLAGS=${LDFLAGS:Q} +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR} +CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +SUBST_CLASSES+= llmaxmin +SUBST_STAGE.llmaxmin= pre-build +SUBST_FILES.llmaxmin= main.cc rescuebook.cc +SUBST_SED.llmaxmin= -e 's/LONG_LONG_MAX/LLONG_MAX/g' +SUBST_SED.llmaxmin+= -e 's/LONG_LONG_MIN/LLONG_MIN/g' + +TEST_TARGET= check +INSTALL_TARGET= install install-man + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/ddrescue/PLIST b/sysutils/ddrescue/PLIST new file mode 100644 index 00000000000..45e4af436cc --- /dev/null +++ b/sysutils/ddrescue/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/07/28 14:08:07 obache Exp $ +bin/ddrescue +info/ddrescue.info +man/man1/ddrescue.1 diff --git a/sysutils/ddrescue/distinfo b/sysutils/ddrescue/distinfo new file mode 100644 index 00000000000..c5527e7d829 --- /dev/null +++ b/sysutils/ddrescue/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/07/28 14:08:07 obache Exp $ + +SHA1 (ddrescue-1.8.tar.bz2) = eefe5aaf47fd3e854d74f4877caf29110e3e88f6 +RMD160 (ddrescue-1.8.tar.bz2) = 41d91d2e6bbc59e35295c6e141198bcbeaf9ca75 +Size (ddrescue-1.8.tar.bz2) = 42569 bytes |