Initial Commit
- initial default booting image
This commit is contained in:
12
package/ddrescue/Config.in
Normal file
12
package/ddrescue/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_DDRESCUE
|
||||
bool "ddrescue"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
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.
|
||||
|
||||
http://www.gnu.org/software/ddrescue/ddrescue.html
|
||||
|
||||
comment "ddrescue needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
4
package/ddrescue/ddrescue.hash
Normal file
4
package/ddrescue/ddrescue.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00001.html
|
||||
sha256 2264622d309d6c87a1cfc19148292b8859a688e9bc02d4702f5cd4f288745542 ddrescue-1.30.tar.lz
|
||||
# Locally computed
|
||||
sha256 022e9c2e9cc1aac3622313df6f971fbb39c1d1b0cb45324c16b8a1fe231c5ea6 COPYING
|
||||
35
package/ddrescue/ddrescue.mk
Normal file
35
package/ddrescue/ddrescue.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# ddrescue
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DDRESCUE_VERSION = 1.30
|
||||
DDRESCUE_SOURCE = ddrescue-$(DDRESCUE_VERSION).tar.lz
|
||||
DDRESCUE_SITE = $(BR2_GNU_MIRROR)/ddrescue
|
||||
DDRESCUE_LICENSE = GPL-2.0+
|
||||
DDRESCUE_LICENSE_FILES = COPYING
|
||||
|
||||
define DDRESCUE_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_MAKE_ENV) ./configure \
|
||||
--prefix=/usr \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
)
|
||||
endef
|
||||
|
||||
DDRESCUE_CXXFLAGS = $(TARGET_CXXFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
DDRESCUE_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
define DDRESCUE_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CXXFLAGS="$(DDRESCUE_CXXFLAGS)" -C $(@D)
|
||||
endef
|
||||
|
||||
define DDRESCUE_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user