25 lines
670 B
Bash
25 lines
670 B
Bash
# Template file for 'kona'
|
|
pkgname=kona
|
|
version=3.28
|
|
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=7473d1095a3ca55baa2ecde0b960829e1d353a12084d8e909ee1b75bfa9a539a
|
|
|
|
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
|
|
}
|