void-packages/srcpkgs/ponyc/template

26 lines
726 B
Bash
Raw Normal View History

2015-05-11 15:23:02 +00:00
# Template file for 'ponyc'
pkgname=ponyc
version=0.1.3
revision=1
only_for_archs="x86_64"
build_style=gnu-makefile
hostmakedepends="llvm"
makedepends="zlib-devel ncurses-devel"
short_desc="OO, actor-model, capabilities-secure, high-performance language"
maintainer="bougyman <bougyman@voidlinux.eu>"
license="BSD"
homepage="http://ponylang.org/"
distfiles="https://github.com/CausalityLtd/ponyc/archive/${version}.tar.gz"
checksum=ee0abb8fbaabd3ccb750afc139eb9c7182f382ca66b3eb1c12e76344d7bf7fc0
do_build() {
make config=release destdir=/usr/lib/pony/${version} prefix=/usr
}
do_install() {
make config=release destdir=${DESTDIR}/usr/lib/pony/${version} prefix=${DESTDIR}/usr install
vlicense LICENSE
vdoc README.md
}