mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
ddrescue: update to 1.19
* License changed to GPLv2+ * Although 'configure is present, it isn't autotools. Nota bene: this requires bitbake and oe-core support for tar.lz Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
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 hard to rescue data in case of read errors."
|
|
||||||
HOMEPAGE = "http://www.gnu.org/software/ddrescue/ddrescue.html"
|
|
||||||
SECTION = "console"
|
|
||||||
LICENSE = "GPLv3+"
|
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
|
|
||||||
file://main_common.cc;beginline=5;endline=16;md5=b5a59150a33658cc1ffc31b1a4ffb9f2"
|
|
||||||
|
|
||||||
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz"
|
|
||||||
SRC_URI[md5sum] = "57b67407e882c6418531d48a2f20d16b"
|
|
||||||
SRC_URI[sha256sum] = "76b3f2e5fb0306d24f2632c3e168cccb73dc0a348e3a7089cd9230748ff23de6"
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
EXTRA_OECONF = "'CXX=${CXX}' 'CPPFLAGS=${CPPFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'LDFLAGS=${LDFLAGS}'"
|
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
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 hard to rescue data in case of read errors."
|
||||||
|
HOMEPAGE = "http://www.gnu.org/software/ddrescue/ddrescue.html"
|
||||||
|
SECTION = "console"
|
||||||
|
LICENSE = "GPLv2+"
|
||||||
|
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \
|
||||||
|
file://main_common.cc;beginline=5;endline=16;md5=3ec288b2676528cd2b069364e313016f"
|
||||||
|
|
||||||
|
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.lz"
|
||||||
|
SRC_URI[md5sum] = "ed6b5b82d74cbd925db2b829350e74b1"
|
||||||
|
SRC_URI[sha256sum] = "ed8d0c9d9aac80a9110e9cb0d0a91a7390d3bf9f816b67a62ca4eb140f4747b8"
|
||||||
|
|
||||||
|
CONFIGUREOPTS = "\
|
||||||
|
'--srcdir=${S}' \
|
||||||
|
'--prefix=${prefix}' \
|
||||||
|
'--exec-prefix=${exec_prefix}' \
|
||||||
|
'--bindir=${bindir}' \
|
||||||
|
'--datadir=${datadir}' \
|
||||||
|
'--infodir=${infodir}' \
|
||||||
|
'--sysconfdir=${sysconfdir}' \
|
||||||
|
'CXX=${CXX}' \
|
||||||
|
'CPPFLAGS=${CPPFLAGS}' \
|
||||||
|
'CXXFLAGS=${CXXFLAGS}' \
|
||||||
|
'LDFLAGS=${LDFLAGS}' \
|
||||||
|
"
|
||||||
|
EXTRA_OEMAKE = ""
|
||||||
|
|
||||||
|
do_configure () {
|
||||||
|
${S}/configure ${CONFIGUREOPTS}
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
oe_runmake 'DESTDIR=${D}' install
|
||||||
|
# Info dir listing isn't interesting at this point so remove it if it exists.
|
||||||
|
if [ -e "${D}${infodir}/dir" ]; then
|
||||||
|
rm -f ${D}${infodir}/dir
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user