aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libctl/APKBUILD
blob: 0c8d546226e0eb5aeef044af6f17cb1c71c6a703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer:
pkgname=libctl
pkgver=4.4.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="d33a8715b96b90c0cbc9977936d47d3e52a1027e7307249d35e3f784823258ed1ab6bdc27f3d92b604e9acf94e1b56de122472485c77bee35d1aac3bd55a4022  libctl-4.4.0.tar.gz"