void-packages/srcpkgs/siril/template

32 lines
964 B
Bash

# Template file for 'siril'
pkgname=siril
version=0.9.12
revision=5
build_style=gnu-configure
hostmakedepends="pkg-config intltool autoconf automake gettext-devel"
makedepends="fftw-devel libconfig-devel libopencv-devel libffms2-devel
gsl-devel libraw-devel tiff-devel libpng-devel libcurl-devel
ffmpeg-devel gtk+3-devel cfitsio-devel gsl-devel libgomp-devel"
depends="gnuplot"
short_desc="Free astronomical image processing software"
maintainer="Andreas Kempe <kempe@lysator.liu.se>"
license="GPL-3.0-or-later"
homepage="https://www.siril.org/"
distfiles="https://free-astro.org/download/${pkgname}-${version}.tar.bz2"
checksum=9fb7f8a10630ea028137e8f213727519ae9916ea1d88cd8d0cc87f336d8d53b1
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"
fi
CFLAGS="-fcommon"
post_extract() {
# add missing check target in this subdir to fix do_check()
echo 'check:' >> deps/kplot/Makefile
}
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}