diff options
Diffstat (limited to 'meta-oe/recipes-support/eject/eject_2.1.5.bb')
-rw-r--r-- | meta-oe/recipes-support/eject/eject_2.1.5.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb new file mode 100644 index 000000000..0440f0c37 --- /dev/null +++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = "Eject allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) to be ejected under software control." | ||
2 | HOMEPAGE = "http://eject.sourceforge.net/" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
5 | |||
6 | inherit autotools gettext update-alternatives | ||
7 | |||
8 | SRC_URI = "http://sources.openembedded.org/${BP}.tar.gz \ | ||
9 | file://eject-2.1.5-error-return.patch \ | ||
10 | file://eject-2.1.1-verbose.patch \ | ||
11 | file://eject-2.1.5-spaces.patch \ | ||
12 | file://eject-timeout.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "b96a6d4263122f1711db12701d79f738" | ||
16 | SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55" | ||
17 | |||
18 | S = "${WORKDIR}/${BPN}" | ||
19 | |||
20 | PR = "r1" | ||
21 | |||
22 | do_compile_prepend() { | ||
23 | # PO subdir must be in build directory | ||
24 | if [ ! ${S} = ${B} ]; then | ||
25 | mkdir -p ${B}/po | ||
26 | cp -r ${S}/po/* ${B}/po/ | ||
27 | fi | ||
28 | } | ||
29 | |||
30 | ALTERNATIVE_${PN} = "volname eject" | ||
31 | ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname" | ||
32 | ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject" | ||
33 | ALTERNATIVE_PRIORITY[volname] = "100" | ||
34 | ALTERNATIVE_PRIORITY[eject] = "100" | ||
35 | |||