summaryrefslogtreecommitdiff
path: root/recipes/file/file_4.21.bb
blob: 9378f46d91cc4bba598adea7672b41f709f7644d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require file.inc

DEPENDS_virtclass-native += "zlib-native"

PR = "${INCPR}.0"

SRC_URI = "ftp://ftp.fi.debian.org/pub/gentoo/distfiles/file-${PV}.tar.gz"

SRC_URI_append_virtclass-native = " file://native-fix.diff;patch=1"

do_configure_prepend() {
	sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am
}

SRC_URI[md5sum] = "9e3503116f4269a1be70220ee2234b0e"
SRC_URI[sha256sum] = "6f5644d56cc603138533158076a6cb41cd33c33d27e5310cb76cb6576151ca67"