2016-03-17 07:20:14 +01:00
|
|
|
# Template file for 'lfe'
|
|
|
|
pkgname=lfe
|
2016-06-19 21:48:17 +02:00
|
|
|
version=1.1.1
|
2016-03-17 07:20:14 +01:00
|
|
|
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"
|
2016-06-19 21:48:17 +02:00
|
|
|
checksum=3a1d2302d5f1be6ef00e5b74b6b7b981f72252f61db6f306c7054a449bd0026c
|
2016-03-17 07:20:14 +01:00
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for b in lfe lfec lfescript; do
|
|
|
|
vbin bin/${b}
|
|
|
|
done
|
|
|
|
|
2016-04-13 18:44:31 +02:00
|
|
|
for m in doc/man/*; do
|
|
|
|
vman ${m}
|
|
|
|
done
|
|
|
|
|
|
|
|
for f in doc/{*.txt,*.md}; do
|
2016-03-17 07:20:14 +01:00
|
|
|
vdoc ${f}
|
|
|
|
done
|
|
|
|
|
|
|
|
vmkdir usr/lib/erlang/lib/lfe/ebin
|
|
|
|
vcopy ebin/* usr/lib/erlang/lib/lfe/ebin
|
|
|
|
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|