void-packages/srcpkgs/kona/template
Christian Neukirchen db61df52fb kona: typo.
2015-05-13 20:47:58 +02:00

25 lines
670 B
Bash

# Template file for 'kona'
pkgname=kona
version=3.24
revision=2
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=91b580b1d5cca761b08e27ada02a5bb491552f84054aad89d31aaca8081ee725
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
}