29 lines
1 KiB
Bash
29 lines
1 KiB
Bash
# Template file for 'ponyc'
|
|
pkgname=ponyc
|
|
version=0.1.3
|
|
revision=2
|
|
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
|
|
rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a ${DESTDIR}/usr/lib/libponyc.a
|
|
ln -s /usr/lib/pony/${version}/lib/libponyrt.a ${DESTDIR}/usr/lib
|
|
ln -s /usr/lib/pony/${version}/lib/libponyc.a ${DESTDIR}/usr/lib
|
|
ln -s /usr/lib/pony/${version}/bin/ponyc ${DESTDIR}/usr/bin
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
}
|
|
|