void-packages/srcpkgs/gnucobol/template

25 lines
817 B
Bash

# Template file for 'gnucobol'
pkgname=gnucobol
version=3.1.2
revision=1
build_style=gnu-configure
make_check_target="test"
makedepends="gmp-devel db-devel"
depends="gnucobol-libs>=${version}_${revision}"
checkdepends="curl perl wget which"
short_desc="GnuCOBOL (formerly OpenCOBOL) is a free COBOL compiler"
maintainer="Cthulhux <git@tuxproject.de>"
license="GPL-3.0-or-later"
homepage="https://sourceforge.net/projects/open-cobol/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f38c60b38a9e404bcba709b61b46f2bafa146b5f3dd90a94b2a70f5cea2f6297
nocross="https://build.voidlinux.org/builders/armv7l-musl_builder/builds/7152/steps/shell_3/logs/stdio"
gnucobol-libs_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove usr/lib/*.so.*
vmove usr/lib/gnucobol
}
}