# Contributor: Isaac Dunham # Maintainer: pkgname=libctl pkgver=4.3.0 pkgrel=0 pkgdesc="Guile-based library implementing flexible control files for scientific simulations" url="http://ab-initio.mit.edu/wiki/index.php/Libctl" arch="all" license="GPL-2.0-or-later AND LGPL-2.1-or-later" depends_dev="guile-dev gmp-dev" makedepends="$depends_dev gc-dev gfortran autoconf automake libtool" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/stevengj/libctl/archive/v$pkgver.tar.gz" prepare() { default_prepare autoreconf -fi } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --enable-shared --disable-static make } package() { make DESTDIR="$pkgdir" install } sha512sums="2d8d2746b7689a41476992ab473b09947dd15f184b188f4219d1cd1d93214169afddb2da22dd7c55bcda1be4d7c7b9af90674522d5153ec5efc5d8e0eed0886c libctl-4.3.0.tar.gz"