mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
quilt: Convert to use install step for staging and cleanup the include files a bit
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
require quilt_${PV}.inc
|
||||
|
||||
SRC_URI_append_build-darwin = "? file://non-gnu.patch;patch=1 "
|
||||
RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native util-linux-native"
|
||||
|
||||
INHIBIT_AUTOTOOLS_DEPS = "1"
|
||||
|
||||
inherit autotools native
|
||||
inherit native
|
||||
|
||||
PATCHTOOL = "patch"
|
||||
EXTRA_OECONF = "--disable-nls"
|
||||
@@ -13,9 +11,3 @@ EXTRA_OECONF = "--disable-nls"
|
||||
do_configure () {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
# Dummy quiltrc file for patch.bbclass
|
||||
do_install_append () {
|
||||
install -d ${STAGING_BINDIR_NATIVE}/
|
||||
touch ${STAGING_BINDIR_NATIVE}/quiltrc
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
PV = "0.47"
|
||||
PR = "r2"
|
||||
require quilt_${PV}.inc
|
||||
require quilt-native.inc
|
||||
|
||||
PR = "r2"
|
||||
@@ -1,10 +0,0 @@
|
||||
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"
|
||||
|
||||
do_install () {
|
||||
oe_runmake 'BUILD_ROOT=${D}' install
|
||||
}
|
||||
@@ -5,5 +5,21 @@ LICENSE = "GPL"
|
||||
|
||||
SRC_URI = "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz "
|
||||
|
||||
# quilt totally ignores DESTDIR
|
||||
PSTAGE_BROKEN_DESTDIR = "1"
|
||||
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
|
||||
}
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
|
||||
|
||||
require quilt_${PV}.inc
|
||||
|
||||
RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
|
||||
SRC_URI += "file://aclocal.patch;patch=1"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI += "file://aclocal.patch;patch=1"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
require quilt-package.inc
|
||||
inherit gettext
|
||||
|
||||
Reference in New Issue
Block a user