diff options
author | Daniel Sabogal <dsabogalcc@gmail.com> | 2016-10-23 02:08:27 -0400 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-04 06:59:13 +0000 |
commit | 5e0e13f1cd4e82636b2ec6ce88510d792aad706d (patch) | |
tree | 01e07babdd848d6fa5d918aad3d8c475dd15e473 /community/erlang/APKBUILD | |
parent | 156d008505827a7e207999c1ec0a00a4c5f022cc (diff) | |
download | aports-5e0e13f1cd4e82636b2ec6ce88510d792aad706d.tar.bz2 aports-5e0e13f1cd4e82636b2ec6ce88510d792aad706d.tar.xz |
community/erlang: upgrade to 19.1.0
fixes #6332
Diffstat (limited to 'community/erlang/APKBUILD')
-rw-r--r-- | community/erlang/APKBUILD | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/community/erlang/APKBUILD b/community/erlang/APKBUILD index 06703cf213..2a478087fc 100644 --- a/community/erlang/APKBUILD +++ b/community/erlang/APKBUILD @@ -2,16 +2,15 @@ # Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com> pkgname=erlang -pkgver=19.0.2 -_srcver=19.0 -pkgrel=1 +pkgver=19.1.0 +_srcver=19.1 +pkgrel=0 pkgdesc="General-purpose programming language and runtime environment" url="http://www.erlang.org/" license="ASL 2.0" arch="all" depends="$pkgname-kernel $pkgname-stdlib $pkgname-compiler" makedepends="perl-dev zlib-dev ncurses-dev libressl-dev openjdk7 unixodbc-dev" -install="" subpackages="$pkgname-dev $pkgname-asn1:asn $pkgname-common-test:common_test @@ -63,24 +62,19 @@ subpackages="$pkgname-dev $pkgname-xmerl:xmerl" source="http://www.erlang.org/download/otp_src_$_srcver.tar.gz 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch - 0010-fix-nteventlog-remove.patch - 0015-otp-update-version-19.0.1.patch" + 0010-fix-nteventlog-remove.patch" -_builddir="$srcdir"/otp_src_$_srcver +builddir="$srcdir/otp_src_$_srcver" prepare() { - local i - cd "$_builddir" + default_prepare || return 1 + + cd "$builddir" rm lib/os_mon/ebin/* - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done } build() { - cd "$_builddir" + cd "$builddir" export CPPFLAGS="-D_BSD_SOURCE $CPPFLAGS" export PATH="/usr/lib/jvm/java-1.7-openjdk/bin:$PATH" ./configure --prefix=/usr \ @@ -98,7 +92,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 rm -rf "$pkgdir"/usr/lib/erlang/lib/wx-* } @@ -196,15 +190,12 @@ dev() { } -md5sums="f64eefc697d47193444aa224d971f367 otp_src_19.0.tar.gz +md5sums="19dfbc2042e6dd40bf281e7ca2d49d43 otp_src_19.1.tar.gz f4aa0cc27dc57ea4dcd57191b1948a4d 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch -0dd300003ff68fc46dc3c839c2541d53 0010-fix-nteventlog-remove.patch -d706bb0d2b3fbd937c6a0e3e54a15dee 0015-otp-update-version-19.0.1.patch" -sha256sums="3fdc27a2a826e7f3d9cda43302d27d98704d6b41ce29a8a5df747a161da53bb1 otp_src_19.0.tar.gz +0dd300003ff68fc46dc3c839c2541d53 0010-fix-nteventlog-remove.patch" +sha256sums="fed4cbbc1ee5cc8efc2b8f14c3db97bfde1de967703f5f9a95f8ab6852737e23 otp_src_19.1.tar.gz 71c8a55fe036d5a04ba2c008b51d8950c3f18d83edaffb9bef2a9d19dd2f79f3 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch -019c62ea3fee60068caa8c3152d7f96e76591fc5dc096abfcea48ec1593eb758 0010-fix-nteventlog-remove.patch -5d523de091a5eff46b4ab7000b09d3668f9e3949b8b04c7d7c1b36936e6cda95 0015-otp-update-version-19.0.1.patch" -sha512sums="fdab82883f7be04cca91041819d15e0b065bdd049b134d056fe4ea12657f1c6f77aeebd778c09b4064e6d974734fe087592739181e14fe60597dbe37f492684f otp_src_19.0.tar.gz +019c62ea3fee60068caa8c3152d7f96e76591fc5dc096abfcea48ec1593eb758 0010-fix-nteventlog-remove.patch" +sha512sums="bd1c243393c867c91768367613aedb40d56889add149390c81f22e022e76b716d6e9a4d5db7e6477ceb1216c26c18c962abdfd8215a87420758f5ef2063b9714 otp_src_19.1.tar.gz 923addcb1f6472829ba13ccc91ad3cef161f269478404f0a19bc4997118e06edd7459011a60769eb393eac930f30d4bd6c5526301382a5f9815862237f4664d3 0005-Do-not-install-nteventlog-and-related-doc-files-on-n.patch -b7387f92f8c27a0565c7885bba4b357183c62d422616e073bc5ffad338a0e22cb5165dcb3b95bf0b920ba00831599f2216027883f4be255aa6f6150b68b7a37c 0010-fix-nteventlog-remove.patch -bbacccc2a4b85ab4c1a6a24db70b8e4ae6ddd5f2b8b3c6c3ce1c767ff2881bb35a7f6adac973ecb4469149f658ab924825ec295efe8f41fb00229db526cb4ac3 0015-otp-update-version-19.0.1.patch" +b7387f92f8c27a0565c7885bba4b357183c62d422616e073bc5ffad338a0e22cb5165dcb3b95bf0b920ba00831599f2216027883f4be255aa6f6150b68b7a37c 0010-fix-nteventlog-remove.patch" |