mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/erlang to 25.0.2-1
This commit is contained in:
parent
d21e6ac4fd
commit
986bdedaf0
1 changed files with 8 additions and 14 deletions
|
@ -11,30 +11,26 @@
|
||||||
|
|
||||||
pkgbase=erlang
|
pkgbase=erlang
|
||||||
pkgname=(erlang erlang-unixodbc)
|
pkgname=(erlang erlang-unixodbc)
|
||||||
pkgver=24.3.2
|
pkgver=25.0.2
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
_docver=24.2
|
_docver=25.0
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://erlang.org'
|
url='https://erlang.org'
|
||||||
license=(Apache)
|
license=(Apache)
|
||||||
makedepends=(fop git glu java-environment libxslt lksctp-tools mesa perl unixodbc wxgtk3)
|
makedepends=(fop git glu java-environment libxslt lksctp-tools mesa perl unixodbc wxwidgets-gtk3)
|
||||||
options=(staticlibs)
|
options=(staticlibs)
|
||||||
source=(epmd.conf
|
source=(epmd.conf
|
||||||
epmd.service
|
epmd.service
|
||||||
epmd.socket
|
epmd.socket
|
||||||
"$url/download/otp_doc_man_$_docver.tar.gz"
|
"$url/download/otp_doc_man_$_docver.tar.gz"
|
||||||
"git+https://github.com/erlang/otp#commit=7bd6e24d3dded3a393f9bb774ccf98cc0af4d595") # tag: OTP-24.3.2
|
"git+https://github.com/erlang/otp#commit=ac0c9879c68b23278178a7afe738285b33ff1832") # tag: OTP-24.3.2
|
||||||
b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87'
|
b2sums=('1675ac9bf948ab19e8b63077d870ccf356fcdbce14de2777f00b3488aa1ce34a5e0a5cdc0428707f744dee5940b12653a44e0ded0554de95ebb31bce4676ff87'
|
||||||
'1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f'
|
'1f765318bcd322ce697a48c064ccdb1bd107b4a84e164a87f62678391cb82a9ab17a397d679cf266e037a5a2d91772b85f7a97f9cc5478c0f18118743b30045f'
|
||||||
'c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553'
|
'c37706f5f6e2d49100104fb442ebf15edd6ee0a1e8038d0364794cf34fd3f02a61b9ad2706228b3327b85b0cadcd11aac6087e7c98408eae2d307a09191b6553'
|
||||||
'17cf3c1e296c883e9c930cd540d439f7dd71a40048bbe80efd6f46dd5b4d9faf51177d2bb133f782742b0b367c8f54c27ed2b2cce277372a98dd55bb629f3b55'
|
'cb48044163b265fb339b774a854662705d1bdf52cfabf3d4a268538c5e53b984c3d26f05acea2f217a1bf6e838469564cef1a4c591d9af43980e1d8f422c43fd'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
# use a hack so that erlang can find wx-config-gtk3 as wx-config in the $PATH
|
|
||||||
mkdir -p bin
|
|
||||||
ln -fs /usr/bin/wx-config-gtk3 bin/wx-config
|
|
||||||
export PATH="$srcdir/bin:$PATH"
|
|
||||||
# adjust how LDFLAGS are handled
|
# adjust how LDFLAGS are handled
|
||||||
sed -i 's/^LDFLAGS = /LDFLAGS += /g' \
|
sed -i 's/^LDFLAGS = /LDFLAGS += /g' \
|
||||||
otp/lib/{odbc/c_src,megaco/src/flex}/Makefile.in
|
otp/lib/{odbc/c_src,megaco/src/flex}/Makefile.in
|
||||||
|
@ -42,8 +38,7 @@ prepare() {
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
#export CFLAGS+=' -ffat-lto-objects'
|
#export CFLAGS+=' -ffat-lto-objects'
|
||||||
export PATH="$srcdir/bin:$PATH"
|
export WX_GKT_VER="3.2"
|
||||||
export WX_GKT_VER="3.0"
|
|
||||||
cd otp
|
cd otp
|
||||||
./otp_build autoconf
|
./otp_build autoconf
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -51,14 +46,13 @@ build() {
|
||||||
--enable-smp-support \
|
--enable-smp-support \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-odbc \
|
--with-odbc \
|
||||||
--with-wx-config=/usr/bin/wx-config-gtk3 \
|
|
||||||
--disable-pgo
|
--disable-pgo
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package_erlang() {
|
package_erlang() {
|
||||||
pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
|
pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
|
||||||
depends=(glu ncurses openssl webkit2gtk wxgtk3)
|
depends=(glu ncurses openssl webkit2gtk wxwidgets-gtk3)
|
||||||
optdepends=('erlang-unixodbc: database support'
|
optdepends=('erlang-unixodbc: database support'
|
||||||
'java-environment: for Java support'
|
'java-environment: for Java support'
|
||||||
'lksctp-tools: for SCTP support')
|
'lksctp-tools: for SCTP support')
|
||||||
|
|
Loading…
Reference in a new issue