]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
ddrescue: New package
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Nov 2016 12:39:56 +0000 (12:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Nov 2016 12:39:56 +0000 (12:39 +0000)
ddrescue is a data recovery tool

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
ddrescue/ddrescue.nm [new file with mode: 0644]

diff --git a/ddrescue/ddrescue.nm b/ddrescue/ddrescue.nm
new file mode 100644 (file)
index 0000000..be34d02
--- /dev/null
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = ddrescue
+version    = 1.21
+release    = 1
+
+groups     = System/Tools
+url        = http://gnu.org/software/ddrescue
+license    = GPLv2+
+summary    = Data recovery tool
+
+description
+       GNU ddrescue is a data recovery tool. It copies data from one file or
+       block device (hard disc, cdrom, etc) to another, trying to rescue the
+       good parts first in case of read errors. 
+end
+
+source_dl  = http://ftp.gnu.org/gnu/ddrescue/
+sources    = %{thisapp}.tar.lz
+
+build
+       # ddrescue comes with a non-traditional configure script
+       configure_options = \
+               --prefix=%{prefix} \
+               --enable-linux \
+               CPPFLAGS="%{CPPFLAGS}" \
+               CFLAGS="%{CFLAGS}" \
+               LDFLAGS="%{LDFLAGS}" \
+               CXXFLAGS="%{CXXFLAGS}"
+
+       test
+               make check
+       end
+end
+
+packages
+       package %{name}
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end