#!/bin/sh # sit class file # # Christoph Niethammer (C) 2013 # CATEGORY="libs" PACKAGE="ayudame" VERSION="current" INSTALLER="Christoph Niethammer " SRCDIR="$SRC_POOL/ayudame/ayudame.git/Ayudame" src_unpack() { # cd $src_dir # git checkout master # git pull /bin/true } 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 }