summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/eject/eject_2.1.5.bb
blob: 0373d23af5a89fe59103a869f81a94da82c5a44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 = "GPLv2"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"


inherit autotools gettext update-alternatives

SRC_URI = "http://sources.openembedded.org/${P}.tar.gz"

SRC_URI[md5sum] = "b96a6d4263122f1711db12701d79f738"
SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55"

S = "${WORKDIR}/${PN}"

do_install_append() {
  mv ${D}/${bindir}/volname ${D}/${bindir}/volname.${PN}
}

ALTERNATIVE_NAME = "volname"
ALTERNATIVE_LINK = "${bindir}/volname"
ALTERNATIVE_PATH = "${bindir}/volname.${PN}"
ALTERNATIVE_PRIORITY = "100"