37 lines
531 B
Bash
37 lines
531 B
Bash
#!/bin/sh
|
|
# sit class file
|
|
#
|
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2013
|
|
#
|
|
|
|
CATEGORY="libs"
|
|
PACKAGE="ayudame"
|
|
VERSION="current"
|
|
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
|
|
|
|
|
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
|
|
}
|
|
|