void-packages/srcpkgs/myrddin/template
2019-03-02 16:55:54 -03:00

24 lines
607 B
Bash

# Template file for 'myrddin'
pkgname=myrddin
version=0.3.1
revision=1
wrksrc=mc
archs="x86_64*"
build_style=configure
configure_args="--prefix=/usr"
make_build_target="bootstrap"
hostmakedepends="bison"
short_desc="Myrddin systems programming language compiler and tools"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://myrlang.org/"
distfiles="https://myrlang.org/releases/myrddin-${version}.tar.xz"
checksum=efb8d73e8e237f836460f46507b7fcd54a174497b9ed8782d7f0a2a2e31915b3
post_install() {
vlicense LICENSE
}
pre_build() {
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2//}
}