2015-05-11 17:23:02 +02:00
|
|
|
# Template file for 'ponyc'
|
|
|
|
pkgname=ponyc
|
2015-05-24 22:03:02 +02:00
|
|
|
version=0.1.5
|
|
|
|
revision=1
|
2015-05-11 17:23:02 +02:00
|
|
|
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"
|
2015-05-24 22:03:02 +02:00
|
|
|
checksum=6f489fdf9c8eb120c1e29ab7df9b1f39ee4a158c0f90e6df59b3f7fc56124663
|
2015-05-11 17:23:02 +02:00
|
|
|
|
|
|
|
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
|
2015-05-11 19:12:42 +02:00
|
|
|
rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a \
|
|
|
|
${DESTDIR}/usr/lib/libponyc.a ${DESTDIR}/usr/include/pony.h
|
2015-05-11 18:45:02 +02:00
|
|
|
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
|
2015-05-11 19:12:42 +02:00
|
|
|
ln -s /usr/lib/pony/${version}/include/pony.h ${DESTDIR}/usr/include
|
2015-05-11 17:23:02 +02:00
|
|
|
vlicense LICENSE
|
|
|
|
vdoc README.md
|
2015-05-11 19:12:42 +02:00
|
|
|
vcopy examples usr/share/doc/ponyc/
|
2015-05-11 17:23:02 +02:00
|
|
|
}
|
|
|
|
|