void-packages/srcpkgs/gmsl/template

25 lines
566 B
Bash

# Template file for 'gmsl'
pkgname=gmsl
version=1.1.9
revision=1
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=e9829575cddc5502aa95073530f5eb6b6814f676a3c1ba6d46400a4278ab9cd4
do_check() {
make -f gmsl-tests
}
do_install() {
vinstall gmsl 644 usr/include
vinstall __gmsl 644 usr/include
vdoc README
sed -n '/Copyright/,/SUCH DAMAGE/p' gmsl >LICENSE
vlicense LICENSE
}