2015-02-16 14:23:29 +00:00
|
|
|
# Template file for 'kona'
|
|
|
|
pkgname=kona
|
2015-07-31 07:47:52 +00:00
|
|
|
version=3.36
|
2015-06-04 17:49:40 +00:00
|
|
|
revision=1
|
2015-02-16 14:23:29 +00:00
|
|
|
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"
|
2015-07-31 07:47:52 +00:00
|
|
|
checksum=bdceffeb0259cd3acbc3b3cbf5a648c1a49e5af8ff440f4027b909c3561d7a04
|
2015-02-16 14:23:29 +00:00
|
|
|
|
2015-05-13 15:50:07 +00:00
|
|
|
post_extract() {
|
2015-05-13 18:47:58 +00:00
|
|
|
sed -i '/netdb.h/a#include <sys/select.h>' src/incs.h
|
2015-05-13 15:50:07 +00:00
|
|
|
}
|
|
|
|
|
2015-02-16 14:23:29 +00:00
|
|
|
do_build() {
|
|
|
|
make ${makejobs} k \
|
|
|
|
CC="$CC" PRODFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS -lm -ldl"
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin k
|
|
|
|
vlicense LICENSE
|
2015-08-31 11:40:27 +00:00
|
|
|
}
|