diff options
Diffstat (limited to 'meta/recipes-connectivity/neard/neard_0.9.bb')
-rw-r--r-- | meta/recipes-connectivity/neard/neard_0.9.bb | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/meta/recipes-connectivity/neard/neard_0.9.bb b/meta/recipes-connectivity/neard/neard_0.9.bb index 61ea58cc14..8e33a9da76 100644 --- a/meta/recipes-connectivity/neard/neard_0.9.bb +++ b/meta/recipes-connectivity/neard/neard_0.9.bb | |||
@@ -11,14 +11,24 @@ inherit autotools pkgconfig update-rc.d | |||
11 | INITSCRIPT_NAME = "neard" | 11 | INITSCRIPT_NAME = "neard" |
12 | INITSCRIPT_PARAMS = "defaults 64" | 12 | INITSCRIPT_PARAMS = "defaults 64" |
13 | 13 | ||
14 | do_install() { | ||
15 | oe_runmake DESTDIR=${D} libexecdir=${libexecdir} install | ||
16 | } | ||
17 | |||
14 | # This would copy neard start-stop shell and test scripts | 18 | # This would copy neard start-stop shell and test scripts |
15 | do_install_append() { | 19 | do_install_append() { |
16 | install -d ${D}${sysconfdir}/init.d/ | 20 | # start/stop |
17 | install -m 0755 ${WORKDIR}/neard ${D}${sysconfdir}/init.d/neard | 21 | install -d ${D}${sysconfdir}/init.d/ |
22 | |||
23 | sed "s:@installpath@:${libexecdir}:" ${WORKDIR}/neard.in \ | ||
24 | > ${D}${sysconfdir}/init.d/neard | ||
25 | |||
26 | chmod 0755 ${D}${sysconfdir}/init.d/neard | ||
18 | 27 | ||
19 | install -d ${D}${libdir}/neard | 28 | #test files |
20 | install -m 0755 ${S}/test/* ${D}${libdir}/neard/ | 29 | install -d ${D}${libdir}/neard |
21 | install -m 0755 ${S}/tools/nfctool/nfctool ${D}${libdir}/neard/ | 30 | install -m 0755 ${S}/test/* ${D}${libdir}/${BPN}/ |
31 | install -m 0755 ${S}/tools/nfctool/nfctool ${D}${libdir}/${BPN}/ | ||
22 | } | 32 | } |
23 | 33 | ||
24 | RDEPENDS_${PN} = "dbus python python-dbus python-pygobject" | 34 | RDEPENDS_${PN} = "dbus python python-dbus python-pygobject" |
@@ -32,26 +42,24 @@ RRECOMMENDS_${PN} = "\ | |||
32 | #Additional | 42 | #Additional |
33 | PACKAGES =+ "${PN}-tests" | 43 | PACKAGES =+ "${PN}-tests" |
34 | 44 | ||
35 | FILES_${PN}-tests = "${libdir}/neard/*-test" | 45 | FILES_${PN}-tests = "${libdir}/${BPN}/*-test" |
36 | RDEPENDS_${PN}-tests = "python python-dbus python-pygobject" | 46 | FILES_${PN}-dbg += "${libdir}/${BPN}/*/.debug" |
37 | 47 | ||
38 | FILES_${PN}-dbg += "${bindir}/neard/*/.debug" | 48 | RDEPENDS_${PN}-tests = "python python-dbus python-pygobject" |
39 | 49 | ||
40 | ##============================= | ||
41 | # This is valid for 0.9+ | 50 | # This is valid for 0.9+ |
42 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ | 51 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ |
43 | file://src/near.h;beginline=1;endline=20;md5=358e4deefef251a4761e1ffacc965d13 \ | 52 | file://src/near.h;beginline=1;endline=20;md5=358e4deefef251a4761e1ffacc965d13 \ |
44 | " | 53 | " |
45 | S = "${WORKDIR}/git" | 54 | S = "${WORKDIR}/git" |
46 | SRCREV = "7abdb13d106d496e1115fab49e6448a249dfb3c8" | 55 | SRCREV = "1e20e396cb837017b7e5ef822bfdab6ce060d2cf" |
47 | PV = "0.9-git${SRCPV}" | 56 | PV = "0.9-git${SRCPV}" |
48 | PR = "r1" | 57 | PR = "r1" |
49 | 58 | ||
50 | SRC_URI = "git://git.kernel.org/pub/scm/network/nfc/neard.git;protocol=git \ | 59 | SRC_URI = "git://git.kernel.org/pub/scm/network/nfc/neard.git;protocol=git \ |
51 | file://neard \ | 60 | file://neard.in \ |
52 | " | 61 | " |
53 | 62 | ||
54 | EXTRA_OECONF += "--enable-tools \ | 63 | EXTRA_OECONF += "--enable-tools \ |
55 | " | 64 | " |
56 | 65 | ||
57 | |||