void-packages/srcpkgs/myrddin/template

24 lines
596 B
Bash

# Template file for 'myrddin'
pkgname=myrddin
version=0.2.0
revision=2
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=4ad37b856edddc1172d584aaf67621eaccd6f378b132e6350c5c5ef9383eabcf
post_install() {
vlicense LICENSE
}
pre_build() {
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2//}
}