void-packages/srcpkgs/myrddin/template
2018-05-26 23:44:51 +02:00

23 lines
596 B
Bash

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