void-packages/srcpkgs/lfe/template

31 lines
642 B
Bash

# Template file for 'lfe'
pkgname=lfe
version=2.1.1
revision=1
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=e5abacd57dc2f357dda46d8336a40046be806f5c6776f95612676c4b45f6d56b
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
}