[arch-commits] CVS update of extra/devel/erlang (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Jul 3 23:20:45 UTC 2007


    Date: Tuesday, July 3, 2007 @ 19:20:45
  Author: andyrtr
    Path: /home/cvs-extra/extra/devel/erlang

Modified: PKGBUILD (1.22 -> 1.23)

updatepkg R11B.5; allow to use also gnujava for compiling


----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)


Index: extra/devel/erlang/PKGBUILD
diff -u extra/devel/erlang/PKGBUILD:1.22 extra/devel/erlang/PKGBUILD:1.23
--- extra/devel/erlang/PKGBUILD:1.22	Wed Mar 28 17:31:57 2007
+++ extra/devel/erlang/PKGBUILD	Tue Jul  3 19:20:45 2007
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD,v 1.22 2007/03/28 21:31:57 juergen Exp $
+# $Id: PKGBUILD,v 1.23 2007/07/03 23:20:45 andyrtr Exp $
 # Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
 # Maintainer: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=erlang
-pkgver=R11B.4
+pkgver=R11B.5
 pkgrel=1
 pkgdesc="A small concurrent functional programming language developed by Ericsson."
 arch=(i686 x86_64)
+options=('!makeflags')
 depends=('ncurses' 'glibc')
-makedepends=('j2sdk' 'perl' 'openssl')
-source=(http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz)
-md5sums=('649e6f057e6996f92c8496161d754d8d' 'cc041ceebc4a6615073d8d7e88495610')
+license=('custom')
+makedepends=('java-environment' 'perl' 'openssl')
+source=(http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz
+	http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz)
+md5sums=('96acec41da87d6ee0ef18e1aab36ffdd'
+         '5c387162ae6d255f525d72a91481d135')
 
 url="http://www.erlang.org/index.html"
 
 build() {
-  export MAKEFLAGS="-j1"
-  ERTSVERSION=5.5
+  ERTSVERSION=5.5.5
   cd $startdir/src/otp_src_${pkgver/./-}
-  ./configure --prefix=/usr --enable-threads
+  ./configure --prefix=/usr #--enable-threads - breaks compiling here
   make || return 1
   make INSTALL_PREFIX=$startdir/pkg install
 
@@ -50,4 +53,5 @@
 
 	# install documentation 
   cp -r $startdir/src/{COPYRIGHT,PR.template,README,man} $startdir/pkg/usr/lib/erlang
+  install -Dm644 $startdir/src/otp_src_${pkgver/./-}/EPLICENCE $startdir/pkg/usr/share/licenses/$pkgname/EPLICENCE
 }




More information about the arch-commits mailing list