summaryrefslogtreecommitdiff
path: root/testing/erlang/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-02 11:26:18 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-02 11:26:18 -0300
commit01dfa0016c313f5ec5be0a8b624bac5031ff74a8 (patch)
tree6dfcf9c3c4143226d0ef65ce2d139f80f8fcacc1 /testing/erlang/PKGBUILD
parent40e1222c1402c0d2aded73b95802f8197d0691a6 (diff)
parent9343f37ee7ba1aa98f65272412d331a280890e12 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/epdfview/PKGBUILD community/gpa/PKGBUILD community/gtk2hs-cairo/PKGBUILD community/gtk2hs-glib/PKGBUILD community/gtk2hs-gtk/PKGBUILD community/gtk2hs-pango/PKGBUILD community/lmctl/PKGBUILD community/mediatomb/PKGBUILD community/ruby-atk/PKGBUILD community/ruby-gdkpixbuf2/PKGBUILD community/ruby-gio2/PKGBUILD community/ruby-glib2/PKGBUILD community/ruby-pango/PKGBUILD core/eglibc/glibc-2.10-bz4781.patch core/eglibc/glibc-2.10-dont-build-timezone.patch core/eglibc/glibc-2.12.1-static-shared-getpagesize.patch core/eglibc/glibc-2.12.2-ignore-origin-of-privileged-program.patch core/eglibc/glibc-2.13-futex.patch core/eglibc/glibc-__i686.patch extra/silc-toolkit/PKGBUILD
Diffstat (limited to 'testing/erlang/PKGBUILD')
-rw-r--r--testing/erlang/PKGBUILD62
1 files changed, 0 insertions, 62 deletions
diff --git a/testing/erlang/PKGBUILD b/testing/erlang/PKGBUILD
deleted file mode 100644
index b9da3fc65..000000000
--- a/testing/erlang/PKGBUILD
+++ /dev/null
@@ -1,62 +0,0 @@
-# $Id: PKGBUILD 140452 2011-10-14 19:44:00Z ibiru $
-# 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
-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')
-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)
-
-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)
-
- 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
- make INSTALL_PREFIX="$pkgdir" install
-
-# fix prefix
- cd "$pkgdir"
- for i in usr/lib/erlang/bin/erl \
- usr/lib/erlang/bin/start \
- usr/lib/erlang/erts-${ERTSVERSION}/bin/erl \
- usr/lib/erlang/erts-${ERTSVERSION}/bin/start \
- usr/lib/erlang/releases/RELEASES ;do
- sed -i "s#$pkgdir##" $i
- done
-
-# fix symlinks
- cd "$pkgdir/usr/lib/erlang/bin"
- ln -sf ../erts-${ERTSVERSION}/bin/epmd
-
- cd "$pkgdir/usr/bin"
- for file in *; do
- ln -sfv ../lib/erlang/bin/$file
- done
-
- ln -s ../lib/erlang/lib/erl_interface-${ERLINTERFACEVERSION}/bin/erl_call "$pkgdir/usr/bin/erl_call"
-
-# install documentation
- install -d "$pkgdir/usr/share/doc/erlang"
- install -D -m644 "$srcdir"/{COPYRIGHT,PR.template,README} "$pkgdir/usr/share/doc/erlang"
- cp -r "$srcdir/man" "$pkgdir/usr/lib/erlang"
-
- install -Dm644 "$srcdir/otp_src_${pkgver/./-}/EPLICENCE" "$pkgdir/usr/share/licenses/$pkgname/EPLICENCE"
-
-}
-md5sums=('4b469729f103f52702bfb1fb24529dc0'
- 'f31e72518daae4007f595c0b224dd59f')