1 # Maintainer: Alexander Drozdov <adrozdoff@gmail.com>
9 pkgdesc="A programmable tool for verification, analysis and transformation of C++ source code"
11 url="http://www.inspirel.com/vera/"
12 license=('custom:boost')
13 depends=('sh' 'gcc-libs' 'tcl>=8.5' 'tcl<8.6')
25 source=(http://www.inspirel.com/vera/files/$pkgname-$pkgver.tar.gz
26 http://downloads.sourceforge.net/sourceforge/${_boostname}/${_boostname}_${_boostver}.tar.gz
32 cd "$srcdir/$pkgname-$pkgver"
34 BOOST_DIR=${srcdir}/${_boostname}_${_boostver}
36 sed -i 's|^\(BOOST_DIR[ \t]*=[ \t]*\).*$|\1'$BOOST_DIR'|;
37 s|^\(TCL_LIB[ \t]*=[ \t]*\).*$|\1'$TCL_LIB'|' src/Make.common
42 cd "$srcdir/$pkgname-$pkgver"
44 install -d ${pkgdir}/usr/bin
45 install -d ${pkgdir}/usr/lib/${pkgname}
46 install -d ${pkgdir}/usr/share/doc/${pkgname}
47 install -d ${pkgdir}/usr/share/licenses/${pkgname}
49 install -m 755 vera++ ${pkgdir}/usr/lib/${pkgname}/vera++
50 install -m 755 ${srcdir}/vera++ ${pkgdir}/usr/bin/vera++
51 install -m 644 LICENSE_1_0.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE_1_0.txt
53 cp -a profiles scripts ${pkgdir}/usr/lib/${pkgname}/
54 cp -a doc CHANGES ${pkgdir}/usr/share/doc/${pkgname}/
57 md5sums=('1077f55265e67c53dccaba200fbb8668'
58 '734565ca4819bf04bd8e903e116c3fb1'
59 'ca32269270ea3fa61079e05630cdbb46')