aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/odcctools/odcctools-cross-sdk_svn.bb
blob: c1718418b6c6e3b1affa2b106185fed9eac4a25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "cctools for darwin (SDK)"
HOMEPAGE = "http://code.google.com/p/iphone-dev"
DEPENDS = "bison-native"
PV = "0.0+svnr${SRCPV}"
PR = "r2"

SRCREV="280"
SRC_URI = "svn://iphone-dev.googlecode.com/svn/branches;proto=http;module=odcctools-9.2-ld"

S = "${WORKDIR}/odcctools-9.2-ld"

inherit autotools sdk

EXTRA_OECONF = "--disable-ld64"

do_install_append () {
	install -d "${D}${prefix}/${TARGET_SYS}/bin/"
	for l in ${D}${bindir}/*; do
		ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`"
	done
}