diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2014-10-26 16:15:52 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-01-08 11:57:53 +0100 |
commit | eaa191d469d0c13ceaf5c89b6b7c3a86cd7fae11 (patch) | |
tree | 6e6f4b3b8d07d0e98119b5ac0f549ddff4c2e519 | |
parent | 19e2acce0e7fec6a9aaa9d3123c17d329edde836 (diff) | |
download | meta-openembedded-eaa191d469d0c13ceaf5c89b6b7c3a86cd7fae11.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-extended/ddrescue/ddrescue_1.16.bb | 18 | ||||
-rw-r--r-- | meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb | 42 |
2 files changed, 42 insertions, 18 deletions
diff --git a/meta-oe/recipes-extended/ddrescue/ddrescue_1.16.bb b/meta-oe/recipes-extended/ddrescue/ddrescue_1.16.bb deleted file mode 100644 index a36c25085..000000000 --- a/meta-oe/recipes-extended/ddrescue/ddrescue_1.16.bb +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | SUMMARY = "Data recovery tool" | ||
2 | DESCRIPTION = "GNU ddrescue is a data recovery tool. It copies data \ | ||
3 | from one file or block device (hard disc, cdrom, etc) to another, \ | ||
4 | trying hard to rescue data in case of read errors." | ||
5 | HOMEPAGE = "http://www.gnu.org/software/ddrescue/ddrescue.html" | ||
6 | SECTION = "console" | ||
7 | LICENSE = "GPLv3+" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \ | ||
10 | file://main_common.cc;beginline=5;endline=16;md5=b5a59150a33658cc1ffc31b1a4ffb9f2" | ||
11 | |||
12 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz" | ||
13 | SRC_URI[md5sum] = "57b67407e882c6418531d48a2f20d16b" | ||
14 | SRC_URI[sha256sum] = "76b3f2e5fb0306d24f2632c3e168cccb73dc0a348e3a7089cd9230748ff23de6" | ||
15 | |||
16 | inherit autotools | ||
17 | |||
18 | EXTRA_OECONF = "'CXX=${CXX}' 'CPPFLAGS=${CPPFLAGS}' 'CXXFLAGS=${CXXFLAGS}' 'LDFLAGS=${LDFLAGS}'" | ||
diff --git a/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb b/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb new file mode 100644 index 000000000..a60524939 --- /dev/null +++ b/meta-oe/recipes-extended/ddrescue/ddrescue_1.19.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Data recovery tool" | ||
2 | DESCRIPTION = "GNU ddrescue is a data recovery tool. It copies data \ | ||
3 | from one file or block device (hard disc, cdrom, etc) to another, \ | ||
4 | trying hard to rescue data in case of read errors." | ||
5 | HOMEPAGE = "http://www.gnu.org/software/ddrescue/ddrescue.html" | ||
6 | SECTION = "console" | ||
7 | LICENSE = "GPLv2+" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ | ||
10 | file://main_common.cc;beginline=5;endline=16;md5=3ec288b2676528cd2b069364e313016f" | ||
11 | |||
12 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.lz" | ||
13 | SRC_URI[md5sum] = "ed6b5b82d74cbd925db2b829350e74b1" | ||
14 | SRC_URI[sha256sum] = "ed8d0c9d9aac80a9110e9cb0d0a91a7390d3bf9f816b67a62ca4eb140f4747b8" | ||
15 | |||
16 | CONFIGUREOPTS = "\ | ||
17 | '--srcdir=${S}' \ | ||
18 | '--prefix=${prefix}' \ | ||
19 | '--exec-prefix=${exec_prefix}' \ | ||
20 | '--bindir=${bindir}' \ | ||
21 | '--datadir=${datadir}' \ | ||
22 | '--infodir=${infodir}' \ | ||
23 | '--sysconfdir=${sysconfdir}' \ | ||
24 | 'CXX=${CXX}' \ | ||
25 | 'CPPFLAGS=${CPPFLAGS}' \ | ||
26 | 'CXXFLAGS=${CXXFLAGS}' \ | ||
27 | 'LDFLAGS=${LDFLAGS}' \ | ||
28 | " | ||
29 | EXTRA_OEMAKE = "" | ||
30 | |||
31 | do_configure () { | ||
32 | ${S}/configure ${CONFIGUREOPTS} | ||
33 | } | ||
34 | |||
35 | do_install () { | ||
36 | oe_runmake 'DESTDIR=${D}' install | ||
37 | # Info dir listing isn't interesting at this point so remove it if it exists. | ||
38 | if [ -e "${D}${infodir}/dir" ]; then | ||
39 | rm -f ${D}${infodir}/dir | ||
40 | fi | ||
41 | } | ||
42 | |||