#!/bin/sh # sit class file # # Christoph Niethammer (C) 2011 # CATEGORY="compiler" PACKAGE="mcxx" VERSION="master" URL="http://nanos.ac.upc.edu/content/mercurium-compiler" INSTALLER="Christoph Niethammer " # Archive A and package name P A=${PACKAGE}-${VERSION}.tar.bz2 P=${PACKAGE}-${VERSION} SRCDIR="$SRC_POOL/mcxx/mcxx.git" # Other interesting configure options: CONFIGURE_OPTS=" \ --enable-fortran \ --enable-ompss \ --with-nanox=$NANOX_HOME \ " src_unpack() { # cd $src_dir # git checkout master # git pull /bin/true sit_info "NANOX_HOME=$NANOX_HOME" } src_prepare() { rm -rf autom4te.cache autoreconf -vif version=$(git rev-list -n 1 master) } src_install() { make install echo "$PACKAGE: $version" > $PREFIX/VERSION.txt } src_pretest() { /bin/true }