void-packages/srcpkgs/myrddin/template
2018-06-30 16:23:39 +02:00

24 lines
626 B
Bash

# Template file for 'myrddin'
pkgname=myrddin
version=0.3.0
revision=1
wrksrc=mc
only_for_archs="x86_64 x86_64-musl"
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.eu>"
license="MIT"
homepage="https://myrlang.org/"
distfiles="https://myrlang.org/releases/myrddin-${version}.tar.xz"
checksum=e740265ba03968be4a5bc3d091b412565e27258c561cd68473d97d40a5d8d596
post_install() {
vlicense LICENSE
}
pre_build() {
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2//}
}