void-packages/srcpkgs/kona/template
Christian Neukirchen 3d95f547e0 kona: update to 3.36.
2015-07-31 10:26:12 +02:00

25 lines
670 B
Bash

# Template file for 'kona'
pkgname=kona
version=3.36
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=bdceffeb0259cd3acbc3b3cbf5a648c1a49e5af8ff440f4027b909c3561d7a04
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
}