mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 05:11:59 +00:00
da361d2d7c
Change the SRC_URI to the correct value due to the following error: WARNING: eject-2.1.5-r0.wr2401 do_fetch: Failed to fetch URL http://sources.openembedded.org/eject-2.1.5.tar.gz, attempting MIRRORS if available Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
37 lines
1.2 KiB
BlitzBasic
37 lines
1.2 KiB
BlitzBasic
DESCRIPTION = "Eject allows removable media (typically a CD-ROM, floppy disk, tape, or JAZ or ZIP disk) to be ejected under software control."
|
|
HOMEPAGE = "http://eject.sourceforge.net/"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
|
|
|
|
inherit autotools gettext update-alternatives
|
|
|
|
SRC_URI = "https://downloads.yoctoproject.org/mirror/sources/${BP}.tar.gz \
|
|
file://eject-2.1.5-error-return.patch \
|
|
file://eject-2.1.1-verbose.patch \
|
|
file://eject-2.1.5-spaces.patch \
|
|
file://eject-timeout.patch \
|
|
file://0001-eject-Include-sys-sysmacros.h-for-major-minor.patch \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55"
|
|
|
|
S = "${WORKDIR}/${BPN}"
|
|
|
|
|
|
do_compile:prepend() {
|
|
# PO subdir must be in build directory
|
|
if [ ! ${S} = ${B} ]; then
|
|
mkdir -p ${B}/po
|
|
cp -r ${S}/po/* ${B}/po/
|
|
fi
|
|
}
|
|
|
|
ALTERNATIVE:${PN} = "volname eject"
|
|
ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
|
|
ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
|
|
ALTERNATIVE_PRIORITY[volname] = "100"
|
|
ALTERNATIVE_PRIORITY[eject] = "100"
|
|
|
|
ALTERNATIVE:${PN}-doc = "eject.1"
|
|
ALTERNATIVE_LINK_NAME[eject.1] = "${mandir}/man1/eject.1"
|