31 lines
642 B
Bash
31 lines
642 B
Bash
# Template file for 'lfe'
|
|
pkgname=lfe
|
|
version=2.0.1
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
hostmakedepends="erlang"
|
|
depends="erlang"
|
|
short_desc="Lisp flavoured erlang"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="http://lfe.io/"
|
|
distfiles="https://github.com/lfe/lfe/archive/v${version}.tar.gz"
|
|
checksum=d64a5c0b626411afe67f146b56094337801c596d9b0cdfeabaf61223c479985f
|
|
|
|
do_install() {
|
|
for b in lfe lfec lfescript; do
|
|
vbin bin/${b}
|
|
done
|
|
|
|
for m in doc/man/*; do
|
|
vman ${m}
|
|
done
|
|
|
|
for f in doc/{*.txt,*.md}; do
|
|
vdoc ${f}
|
|
done
|
|
|
|
vmkdir usr/lib/erlang/lib/lfe/ebin
|
|
vcopy ebin/* usr/lib/erlang/lib/lfe/ebin
|
|
}
|