diff options
Diffstat (limited to 'meta-oe/recipes-support/daemontools/daemontools_0.76.bb')
| -rw-r--r-- | meta-oe/recipes-support/daemontools/daemontools_0.76.bb | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb index d674e03781..b99116da70 100644 --- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb +++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb | |||
| @@ -16,24 +16,18 @@ LIC_FILES_CHKSUM = "file://src/prot.c;beginline=1;endline=1;md5=96964cadf07e8f8c | |||
| 16 | LICENSE = "PD" | 16 | LICENSE = "PD" |
| 17 | 17 | ||
| 18 | SRC_URI = "http://cr.yp.to/daemontools/${BPN}-${PV}.tar.gz \ | 18 | SRC_URI = "http://cr.yp.to/daemontools/${BPN}-${PV}.tar.gz \ |
| 19 | file://0001-error.h-include-errno.h-instead-of-extern-int.diff \ | 19 | file://0001-error.h-include-errno.h-instead-of-extern-int.diff \ |
| 20 | file://0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff " | 20 | file://0002-supervise.c-.-supervise-may-be-a-symlink-if-it-s-da.diff \ |
| 21 | 21 | file://cross-compile.patch \ | |
| 22 | SRC_URI_append_class-target = "file://cross-compile.patch \ | 22 | file://0001-daemontools-Fix-QA-Issue.patch \ |
| 23 | file://0001-daemontools-Fix-QA-Issue.patch " | 23 | " |
| 24 | |||
| 25 | SRC_URI_append_class-native = "file://0001-daemontools-native-Fix-a-warning.patch " | ||
| 26 | 24 | ||
| 27 | SRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc" | 25 | SRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc" |
| 28 | SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" | 26 | SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" |
| 29 | 27 | ||
| 30 | S = "${WORKDIR}/admin/${BPN}-${PV}" | 28 | S = "${WORKDIR}/admin/${BP}" |
| 31 | |||
| 32 | DEPENDS += "daemontools-native" | ||
| 33 | DEPENDS_class-native = "" | ||
| 34 | 29 | ||
| 35 | do_compile() { | 30 | do_compile() { |
| 36 | echo "int main() { return 0; }" >${S}/src/chkshsgr.c | ||
| 37 | ./package/compile | 31 | ./package/compile |
| 38 | } | 32 | } |
| 39 | 33 | ||
| @@ -41,12 +35,6 @@ do_install() { | |||
| 41 | install -d ${D}/${bindir} | 35 | install -d ${D}/${bindir} |
| 42 | } | 36 | } |
| 43 | 37 | ||
| 44 | do_install_append_class-native() { | ||
| 45 | install -m 755 ${S}/compile/chkshsgr ${D}/${bindir} | ||
| 46 | } | ||
| 47 | |||
| 48 | do_install_append_class-target() { | 38 | do_install_append_class-target() { |
| 49 | install -m755 ${S}/command/* ${D}/${bindir} | 39 | install -m755 ${S}/command/* ${D}/${bindir} |
| 50 | } | 40 | } |
| 51 | |||
| 52 | BBCLASSEXTEND = "native" | ||
