-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"
do_configure () {
oe_runconf
}
-
-# Dummy quiltrc file for patch.bbclass
-do_install_append () {
- install -d ${STAGING_BINDIR_NATIVE}/
- touch ${STAGING_BINDIR_NATIVE}/quiltrc
-}
-PV = "0.47"
-PR = "r2"
+require quilt_${PV}.inc
require quilt-native.inc
+
+PR = "r2"
\ No newline at end of file
+++ /dev/null
-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
-}
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
+}
-RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
-
require quilt_${PV}.inc
-PR = "r1"
-
+RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
SRC_URI += "file://aclocal.patch;patch=1"
+PR = "r1"
-inherit autotools gettext
-
-require quilt-package.inc
+inherit gettext