void-packages/srcpkgs/gmsl/template

27 lines
585 B
Bash

# Template file for 'gmsl'
pkgname=gmsl
version=1.1.8
revision=2
create_wrksrc=yes
depends="make"
short_desc="GNU Make Standard Library"
maintainer="B. Wilson <x@wilsonb.com>"
license="BSD-3-Clause"
homepage="https://sourceforge.net/projects/gmsl/"
distfiles="${SOURCEFORGE_SITE}/gmsl/gmsl-${version}.tar.gz"
checksum=d569bcf5ec3ce0fd3f9948066ca0bbbf2d25cf529d61dd65e30c941f0eb1adcd
do_check() {
make -f gmsl-tests
}
do_install() {
vinstall gmsl 644 usr/include
vinstall __gmsl 644 usr/include
vdoc index.html
vdoc README
sed --quiet '8,38p' gmsl >LICENSE
vlicense LICENSE
}