void-packages/srcpkgs/lfe/template
2016-03-26 07:37:11 +01:00

32 lines
618 B
Bash

# Template file for 'lfe'
pkgname=lfe
version=1.0.1
revision=1
noarch=yes
hostmakedepends="erlang"
depends="erlang"
short_desc="Lisp flavoured erlang"
maintainer="Michael Gehring <mg@ebfe.org>"
license="Apache-2.0"
homepage="http://lfe.io/"
distfiles="https://github.com/rvirding/lfe/archive/v${version}.tar.gz"
checksum=e83ac5f917971fb6546e5a4590d8b8b0c4b7798e78be8b65623fdf4735e9262a
do_build() {
make
}
do_install() {
for b in lfe lfec lfescript; do
vbin bin/${b}
done
for f in doc/*; do
vdoc ${f}
done
vmkdir usr/lib/erlang/lib/lfe/ebin
vcopy ebin/* usr/lib/erlang/lib/lfe/ebin
vlicense LICENSE
}