Also update metadata variables like LICENSE & LIC_CHKSUM_FILES Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
28 lines
839 B
PHP
28 lines
839 B
PHP
DESCRIPTION = "Tool to work with series of patches."
|
|
HOMEPAGE = "http://savannah.nongnu.org/projects/quilt/"
|
|
SECTION = "devel"
|
|
LICENSE = "GPLv2"
|
|
LIC_CHKSUM_FILES = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
|
|
|
SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
|
|
file://install.patch"
|
|
|
|
inherit autotools
|
|
|
|
PACKAGES += "guards guards-doc"
|
|
FILES_${PN} = "${sysconfdir} ${datadir}/quilt \
|
|
${bindir}/quilt ${libdir}/quilt"
|
|
FILES_guards = "${bindir}/guards"
|
|
FILES_${PN}-doc = "${mandir}/man1/quilt.1 ${docdir}/${P}"
|
|
FILES_guards-doc = "${mandir}/man1/guards.1"
|
|
|
|
# quilt ignores DESTDIR
|
|
do_install () {
|
|
oe_runmake 'BUILD_ROOT=${D}' install
|
|
if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then
|
|
# Dummy quiltrc file for patch.bbclass
|
|
install -d ${D}${bindir}/
|
|
touch ${D}${bindir}/quiltrc
|
|
fi
|
|
}
|