1 # Contributor: Jed Brown <jed@59A2.org>
5 pkgdesc="Tools for documenting and improving portability"
7 url="http://mcs.anl.gov/~gropp/projects/software/sowing"
17 source=(ftp://ftp.mcs.anl.gov/pub/sowing/$pkgname-$pkgver.tar.gz)
18 md5sums=('2301f1446baa090aff2741459962a920')
21 find ${pkgname}-${pkgver} -type f -exec sed -i 's,PetscTruth,PetscBool,g' '{}' \+
22 mkdir -p "${srcdir}/build"
25 ../${pkgname}-${pkgver}/configure --prefix=/usr --datadir=/usr/share/sowing
27 make prefix="${pkgdir}/usr" datadir="${pkgdir}/usr/share/sowing" install || return 1