diff options
author | root <root@rshg054.dnsready.net> | 2011-12-22 23:15:05 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-22 23:15:05 +0000 |
commit | 34e6c976d28892a7bd3f7578f10fcfa57865472f (patch) | |
tree | c3bd6b5146aa6393df096632e92c57d0fcd4e85a /extra/erlang/PKGBUILD | |
parent | 69d24275e4d5296a5f02e4c4d0fc438a80d159b8 (diff) |
Thu Dec 22 23:15:04 UTC 2011
Diffstat (limited to 'extra/erlang/PKGBUILD')
-rw-r--r-- | extra/erlang/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/extra/erlang/PKGBUILD b/extra/erlang/PKGBUILD index 57f84c43e..62458f595 100644 --- a/extra/erlang/PKGBUILD +++ b/extra/erlang/PKGBUILD @@ -1,32 +1,43 @@ -# $Id: PKGBUILD 140857 2011-10-20 05:42:01Z ibiru $ +# $Id: PKGBUILD 145333 2011-12-21 20:47:12Z andrea $ # Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca> # Contributor: Tom Burdick <thomas.burdick@wrightwoodtech.com> pkgname=erlang pkgver=R14B04 -pkgrel=1 +pkgrel=2 pkgdesc="A small concurrent functional programming language developed by Ericsson." arch=(i686 x86_64) url="http://www.erlang.org/index.html" license=('custom') depends=('ncurses' 'glibc') -makedepends=('java-environment' 'perl' 'openssl' 'wxgtk' 'unixodbc' 'mesa') +makedepends=('java-environment' 'perl' 'openssl' 'wxgtk' 'unixodbc>=2.3.1' 'mesa') optdepends=('wxgtk: for wx support' 'unixodbc: database') options=('!makeflags') source=(http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz) +md5sums=('4b469729f103f52702bfb1fb24529dc0' + 'f31e72518daae4007f595c0b224dd59f') + +# please check these deps reported by namcap when you do the next build: +#erlang E: Dependency java-environment detected and not included (found class files usr/lib/erlang/lib/jinterface-1.5.4/priv/OtpErlang.jar, usr/lib/erlang/lib/ic-4.2.27/priv/ic.jar) +#erlang E: Dependency mesa detected and not included (libraries ['usr/lib/libGLU.so.1'] needed in files ['usr/lib/erlang/lib/wx-0.99/priv/erl_gl.so']) + build() { cd "$srcdir/otp_src_${pkgver/./-}" - ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk) - ERLINTERFACEVERSION=$(sed -n 's/^EI_VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < lib/erl_interface/vsn.mk) + export ERTSVERSION=$(sed -n 's/^VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < erts/vsn.mk) + export ERLINTERFACEVERSION=$(sed -n 's/^EI_VSN[ ]*=[ ]*\([0-9.]\)/\1/p' < lib/erl_interface/vsn.mk) sed -i '/SSL_DYNAMIC_ONLY=/s:no:yes:' erts/configure CFLAGS="${CFLAGS} -fno-strict-aliasing" ./configure --prefix=/usr --enable-smp-support --enable-threads -enable-native-libs make +} + +package() { + cd "$srcdir/otp_src_${pkgver/./-}" make INSTALL_PREFIX="$pkgdir" install # fix prefix @@ -58,5 +69,3 @@ build() { install -Dm644 "$srcdir/otp_src_${pkgver/./-}/EPLICENCE" "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE" } -md5sums=('4b469729f103f52702bfb1fb24529dc0' - 'f31e72518daae4007f595c0b224dd59f') |