summaryrefslogtreecommitdiff
path: root/recipes/libtool/libtool.inc
blob: 838f029236e598aff38d6ce3ea78b996011c9911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DESCRIPTION = "Generic library support script \
This is GNU libtool, a generic library support script.  Libtool hides \
the complexity of generating special library types (such as shared \
libraries) behind a consistent interface."
HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
LICENSE = "GPL"
SECTION = "devel"

INC_PR = "r25"

FILESPATHPKG=. "libtool-${PV}:"

do_configure_prepend () {
	if ${@['true', 'false'][bb.data.inherits_class('native', d) or bb.data.inherits_class('sdk', d) or (bb.data.getVar('PN', d, 1) == 'libtool-cross')]}
	then
		export ac_cv_path_SED="${ac_cv_path_SED=${base_bindir}/sed}"
		export ac_cv_path_GREP="${ac_cv_path_GREP=${base_bindir}/grep}"
		export ac_cv_path_EGREP="${ac_cv_path_EGREP=${base_bindir}/grep -E}"
		export ac_cv_path_FGREP="${ac_cv_path_FGREP=${base_bindir}/grep -F}"
	fi
}