summaryrefslogtreecommitdiff
path: root/meta/packages/quilt/quilt-native.inc
blob: 4d7291f5b9619584dbeb2b8f5632ff3e79a6a2ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/quilt-${PV}"

INHIBIT_AUTOTOOLS_DEPS = "1"

inherit autotools 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
}