aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/r/r-native_2.0.0.bb
blob: d9360dfaef1470d190236fbb9f7e5ba9d1f6c35a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEPENDS = "ncurses-native perl-native"

SRC_URI = "http://www.stats.bris.ac.uk/R/src/base/R-2/R-${PV}.tar.gz"

EXTRA_OECONF = "--without-x --without-readline --without-gnome --without-tcltk --without-libpng \
	        --without-jpeglib"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/R-${PV}"

S = "${WORKDIR}/R-${PV}"

inherit autotools native

do_configure() {
	oe_runconf
}

do_stage() {
	install -m 0755 ${S}/bin/R ${STAGING_BINDIR}/R
}