28 lines
671 B
Bash
28 lines
671 B
Bash
# Template file for 'kona'
|
|
pkgname=kona
|
|
version=3.39.69
|
|
revision=1
|
|
_distver="${version%.*}-${version##*.}"
|
|
short_desc="Open-source implementation of the K programming language"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/kevinlawler/kona"
|
|
distfiles="https://github.com/kevinlawler/kona/archive/Win.${_distver}.tar.gz"
|
|
checksum=846b586c89bb18048028a0d623c6322148e366b132ea73b288ea34ef1833d0ed
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
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
|
|
}
|