#!/bin/bash #DEP:rrdtool #DEP:libart_lgpl #DEP:libpng #DEP:perlmod_SNMP_Session NAME=cricket VER=1.0.5 CWD=`pwd` PKGTMP=/tmp/pkgtmp mkdir -p $PKGTMP &>/dev/null tar -xzf $NAME-$VER.tar.gz || exit 1 cd $NAME-$VER || exit 1 ./configure || exit 1 mkdir -p $PKGTMP/usr/cricket cp -a * $PKGTMP/usr/cricket || exit 1 cp $CWD/subtree-sets $PKGTMP/usr/cricket || exit 1 #dit is een gefixte versie omdat we een nieuwe versie #van perl hebben. (komt uit cvs) cp $CWD/snmp.pm $PKGTMP/usr/cricket/lib || exit 1 cd "$PKGTMP" || exit 1 makepkg -l y -c n $CWD/$NAME.pkg > /dev/null && echo $VER > $CWD/$NAME.version && arch > $CWD/$NAME.arch