2010-12-10 08:10:23 +00:00
|
|
|
DESCRIPTION = "auto-setup environment for lsb test"
|
|
|
|
SECTION = "console/utils"
|
|
|
|
PRIORITY = "required"
|
|
|
|
LICENSE = "GPLv2"
|
2011-05-13 03:18:40 +00:00
|
|
|
PR = "r3"
|
2010-12-10 08:10:23 +00:00
|
|
|
|
2011-04-22 06:03:53 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
|
2010-12-10 08:10:23 +00:00
|
|
|
|
|
|
|
SRC_URI = "file://LSB_Setup.sh"
|
|
|
|
|
|
|
|
S=${WORKDIR}
|
|
|
|
|
2010-12-13 08:47:29 +00:00
|
|
|
do_install() {
|
|
|
|
# Only install file if it has a contents
|
2011-04-22 06:03:53 +00:00
|
|
|
install -d ${D}/usr/bin
|
|
|
|
install -m 0755 ${S}/LSB_Setup.sh ${D}/usr/bin
|
2011-04-27 08:16:46 +00:00
|
|
|
install -d ${D}/usr/lib/lsb
|
|
|
|
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/install_initd
|
|
|
|
ln -sf ${base_sbindir}/chkconfig ${D}/${libdir}/lsb/remove_initd
|
2011-05-17 05:46:14 +00:00
|
|
|
ln -sf ${sbindir}/sendmail ${D}/${libdir}/sendmail
|
2010-12-10 08:10:23 +00:00
|
|
|
}
|
2011-04-27 08:16:46 +00:00
|
|
|
|
2011-05-17 05:46:14 +00:00
|
|
|
FILES_${PN} += "${libdir}/lsb \
|
|
|
|
${libdir}/* \
|
|
|
|
"
|