community/erlang to 21.3-1

This commit is contained in:
Kevin Mihelich 2019-03-13 19:43:03 +00:00
parent 319d3f5bae
commit c2031acad2

View file

@ -10,22 +10,20 @@
pkgbase=erlang
pkgname=(erlang erlang-unixodbc)
pkgver=21.2
pkgver=21.3
pkgrel=1
_docver=21.2
_docver=21.3
arch=(x86_64)
url='https://www.erlang.org'
license=('Apache')
license=(Apache)
makedepends=(fop git glu java-environment libxslt lksctp-tools
mesa perl unixodbc wxgtk)
options=(staticlibs)
source=("git+https://github.com/erlang/otp.git#tag=OTP-$pkgver"
"$url/download/otp_doc_man_$_docver.tar.gz"
epmd.conf
epmd.service
epmd.socket)
epmd.conf epmd.service epmd.socket)
sha256sums=('SKIP'
'e85a782e0fcd38b92098110b320e28ea8030cce318868d99a4fe6d17ae08b778'
'f5464b5c8368aa40c175a5908b44b6d9670dbd01ba7a1eef1b366c7dc36ba172'
'78ce5e67b21758c767d727e56b20502f75dc4385ff9b6c6db312d8e8506f2df2'
'b121ec9053fb37abca5f910a81c526f93ec30fe13b574a12209223b346886a9e'
'998a759e4cea4527f9d9b241bf9f32527d7378d63ea40afa38443c6c3ceaea34')
@ -39,20 +37,20 @@ build() {
./configure \
--prefix=/usr \
--enable-builtin-zlib \
--with-odbc \
--enable-smp-support \
--with-odbc \
--disable-pgo
make
}
package_erlang() {
pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
depends=('ncurses' 'glu' 'wxgtk' 'openssl')
depends=(ncurses glu wxgtk openssl)
optdepends=('erlang-unixodbc: database support'
'java-environment: for Java support'
'lksctp-tools: for SCTP support')
provides=('erlang-nox')
conflicts=('erlang-nox')
provides=(erlang-nox)
conflicts=(erlang-nox)
make -C otp DESTDIR="$pkgdir" install
@ -76,7 +74,7 @@ package_erlang() {
package_erlang-unixodbc() {
pkgdesc='Unixodbc support for Erlang'
depends=('unixodbc' 'erlang-nox')
depends=(unixodbc erlang-nox)
install -d "$pkgdir/usr/lib/erlang/lib"
mv unixodbc/* "$pkgdir/usr/lib/erlang/lib/"