diff --git a/srcpkgs/lfe/template b/srcpkgs/lfe/template new file mode 100644 index 00000000000..2ba5aad01db --- /dev/null +++ b/srcpkgs/lfe/template @@ -0,0 +1,32 @@ +# Template file for 'lfe' +pkgname=lfe +version=1.0 +revision=1 +noarch=yes +hostmakedepends="erlang" +depends="erlang" +short_desc="Lisp flavoured erlang" +maintainer="Michael Gehring " +license="Apache-2.0" +homepage="http://lfe.io/" +distfiles="https://github.com/rvirding/lfe/archive/v${version}.tar.gz" +checksum=a335f593faf96fadbe9d049c5be5d331ba19628bd5dd41cedcbc62bb7c597fe7 + +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 +}