1 # Contributor: Gabriele Lanaro <gabriele.lanaro@gmail.com>
6 url="http://en.wikipedia.org/wiki/F2c"
8 pkgdesc="Fortran to C code translator."
13 source=( 'https://computation.llnl.gov/casc/Overture/henshaw/software/f2c.tar.gz' )
16 cd ${srcdir}/${pkgname}/src/
18 mkdir -p ${pkgdir}/usr/bin
19 cp f2c ${pkgdir}/usr/bin || return 1
21 cd ${srcdir}/${pkgname}/libf2c/
23 mkdir -p ${pkgdir}/usr/lib ${pkgdir}/usr/include
24 make LIBDIR=${pkgdir}/usr/lib install || return 1
25 cp f2c.h ${pkgdir}/usr/include || return 1
27 md5sums=('d075c50dbde8683b2bdcb1e5857eaae1')