void-packages/srcpkgs/kona/template
Christian Neukirchen 532f99f50b kona: update to 3.39.
2016-01-27 16:01:05 +01:00

25 lines
669 B
Bash

# Template file for 'kona'
pkgname=kona
version=3.39
revision=1
wrksrc="${pkgname}-Win.${version}-64"
short_desc="Open-source implementation of the K programming language"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="https://github.com/kevinlawler/kona"
distfiles="https://github.com/kevinlawler/${pkgname}/archive/Win.${version}-64.tar.gz"
checksum=fb5463d0a94f1a123c859c32caa1aa92f986b90451a0c78da4d80cba23e2ce0f
post_extract() {
sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
}
do_build() {
make ${makejobs} k \
CC="$CC" PRODFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lm -ldl"
}
do_install() {
vbin k
vlicense LICENSE
}