1 # Contributor: Markus Gross (xsdnyd [at] gmail.com)
6 pkgdesc="Hets is a parsing, static analysis and proof management tool \
7 combining various tools for different specification languages, thus providing \
8 a tool for the heterogeneous specification language HetCASL."
9 url="http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/index_e.htm"
12 depends=('haxml>=1.13.2' 'ghc>=6.8.2' 'udrawgraph>=3.1.1' 'tcl' 'tk' 'spass' 'hets-lib')
13 makedepends=('subversion')
18 _svntrunk=https://svn-agbkb.informatik.uni-bremen.de/Hets/trunk
28 svn co https://svn-agbkb.informatik.uni-bremen.de/uni/trunk --config-dir ./ uni
31 if [ -d $_svnmod/.svn ]
33 (cd $_svnmod && svn up -r $pkgver)
35 svn co $_svntrunk --config-dir ./ $_svnmod
38 msg "SVN checkout done or server timeout"
39 msg "Building uniform framework"
43 ./configure --with-bdb=/usr
45 make cabal || return 1
49 cp -r $_svnmod $_svnmod-build
52 msg "Building $_svnmod"
54 make packages || return 1
55 #make depend || return 1
58 mkdir -p $startdir/pkg/usr/bin/
59 install -Dm755 hets $startdir/pkg/usr/bin/$_svnmod
62 mkdir -p $startdir/pkg/usr/share/licenses/$_svnmod
63 install -Dm644 LICENSE.txt $startdir/pkg/usr/share/licenses/$_svnmod/LICENSE
65 rm -rf $startdir/src/$_svnmod-build