diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/r/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/r/r-native_2.0.0.bb | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/packages/r/.mtn2git_empty b/packages/r/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/r/.mtn2git_empty diff --git a/packages/r/r-native_2.0.0.bb b/packages/r/r-native_2.0.0.bb new file mode 100644 index 0000000000..d9360dfaef --- /dev/null +++ b/packages/r/r-native_2.0.0.bb @@ -0,0 +1,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 +} |