New package: erlang-17.1

This commit is contained in:
Christian Neukirchen 2014-08-31 21:17:04 +02:00
parent bc5dac02b8
commit 121e8ae8d6
1 changed files with 37 additions and 0 deletions

37
srcpkgs/erlang/template Normal file
View File

@ -0,0 +1,37 @@
# Template file for 'erlang'
pkgname=erlang
version=17.1
revision=1
wrksrc=otp_src_${version}
build_style=gnu-configure
configure_args="--enable-smp-support"
hostmakedepends="perl libxslt"
makedepends="ncurses-devel unixodbc-devel libressl-devel
$(vopt_if x11 'wxGTK-devel glu-devel')"
short_desc="General-purpose concurrent functional programming language developed by Ericsson"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://www.erlang.org/"
distfiles="http://www.erlang.org/download/otp_src_${version}.tar.gz
http://www.erlang.org/download/otp_doc_man_${version}.tar.gz"
checksum="b806f5b2b5cc2d0c0d5dd1a65657c21c10dc3a0535ef60adecdac9cd73b9c356
4a230277f135e3730593e7bffdd5ca92596568340f02a5b3134f1d083b34eaab"
build_options="x11"
if [ "$CROSS_BUILD" ]; then
pre_configure() {
# Build the bootstrap compiler for the host platform.
env - PATH=/usr/bin:/usr/sbin ./configure --enable-bootstrap-only
env - PATH=/usr/bin:/usr/sbin HOME=$HOME make ${makejobs}
configure_args+=" --build=$(erts/autoconf/config.guess)"
export erl_xcomp_sysroot=/usr/${XBPS_CROSS_TRIPLET}
}
fi
post_install() {
vmkdir usr/share
vcopy ../man usr/share/
vlicense EPLICENCE
}