36 lines
672 B
Bash
36 lines
672 B
Bash
# Template file for 'lfe'
|
|
pkgname=lfe
|
|
version=1.2.0
|
|
revision=2
|
|
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=0abc6e95e3ccb3eff2bc323418e6a095fbdeee7750e12f9f76c67c69d6558e17
|
|
|
|
do_build() {
|
|
make
|
|
}
|
|
|
|
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
|
|
|
|
vlicense LICENSE
|
|
}
|