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