aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml/APKBUILD
diff options
context:
space:
mode:
authorMichael Zuo <muh.muhten@gmail.com>2015-08-30 13:17:53 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2015-09-05 13:40:27 +0200
commit10e307f4f5b524ba53b823c5310ae46a2054f3c5 (patch)
tree3b6bd1c7530d48973af3be1b85bf91bb4b5c6bf0 /testing/ocaml/APKBUILD
parent56af9bf5cb57be5cdae8bc1440f06575c43e5885 (diff)
downloadaports-10e307f4f5b524ba53b823c5310ae46a2054f3c5.tar.bz2
aports-10e307f4f5b524ba53b823c5310ae46a2054f3c5.tar.xz
testing/ocaml: upgrade to 4.02.3
Diffstat (limited to 'testing/ocaml/APKBUILD')
-rw-r--r--testing/ocaml/APKBUILD47
1 files changed, 19 insertions, 28 deletions
diff --git a/testing/ocaml/APKBUILD b/testing/ocaml/APKBUILD
index 2c26c4148e..e9027fcb0d 100644
--- a/testing/ocaml/APKBUILD
+++ b/testing/ocaml/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Borys Zhukov <mp5@mp5.im>
# Maintainer: Borys Zhukov <mp5@mp5.im>
pkgname=ocaml
-pkgver=3.12.1
-pkgrel=1
+pkgver=4.02.3
+pkgrel=0
pkgdesc="Main implementation of the Caml programming language"
url="http://caml.inria.fr"
arch="all"
@@ -11,12 +11,10 @@ makedepends="ncurses-dev zlib-dev gdbm-dev"
install=""
options="textrels"
subpackages="$pkgname-doc"
-source="http://caml.inria.fr/pub/distrib/ocaml-3.12/$pkgname-$pkgver.tar.gz
+source="http://caml.inria.fr/pub/distrib/ocaml-${pkgver%.*}/$pkgname-$pkgver.tar.gz
010_all_execstacks.patch
020_all_configure.patch
- 040_all_yaccldflags.patch
050_all_objinfoldflags.patch
- 060_all_linkorder.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -44,12 +42,11 @@ build() {
done
LDFLAGS="$LDFLAGS -fno-pie" ./configure -cc "${CC:-gcc}" \
- -bindir /usr/bin \
- -libdir /usr/lib/ocaml \
- -mandir /usr/share/man \
- -no-tk \
+ --bindir /usr/bin \
+ --libdir /usr/lib/ocaml \
+ --mandir /usr/share/man \
|| return 1
- make -j1 world.opt || return 1
+ make world.opt || return 1
}
package() {
@@ -64,21 +61,15 @@ package() {
find "$pkgdir"/usr/lib/ocaml -name \*.ml -delete
}
-md5sums="814a047085f0f901ab7d8e3a4b7a9e65 ocaml-3.12.1.tar.gz
-ef0810371df5ca55843f8faf6707cd6f 010_all_execstacks.patch
-2a88918e39e30016b1575b3ac740bb63 020_all_configure.patch
-2c7171ae2c8c77ceadabbd4db7f6e01b 040_all_yaccldflags.patch
-baed56051b58c3a7aef9248e85771de0 050_all_objinfoldflags.patch
-b52c8999a7bf66fc3eab0de79cd2b4cc 060_all_linkorder.patch"
-sha256sums="4f81ab86258be0eea1507dd5338c8670490f8616249821e731f8ac1c64caa4a7 ocaml-3.12.1.tar.gz
-083649669bcafb2778336f776bfa37e0448a2e52b104447ef3a4bc212f1df87b 010_all_execstacks.patch
-ff91dc8def0a2829bca64cdd8af5cb59073ca958753f18172d3bbc3bfede6c11 020_all_configure.patch
-f663febae991b57c8b02cfe2b25f7ee0cbc1c6307f6d1b8b4148fda6b8f8d871 040_all_yaccldflags.patch
-29e4fb60d61c73cca31da65c0742c17a6f67ef18c04b24d591cbc44c3b8dec9a 050_all_objinfoldflags.patch
-1ce54407303ff6e03c7c8ba39bac7ede7d252e8fcf56b5bde54ffe4c3843b3e9 060_all_linkorder.patch"
-sha512sums="9d594721816bb5e0edbb50e35496bc5f228a4419b05d518ea7fc72975b18c27ee0f34247efc3bdd264214eb285e72ddb42516fbae2f499a780e62ea4f9b85756 ocaml-3.12.1.tar.gz
-2f408565a249e26bceaf1055e7923b103bb0e94f2381b1294aa8de286e6c06942ae89958e1c1dc275fe85ad56ff95484c3ca8a836cd29edaf27dadb1d06f4706 010_all_execstacks.patch
-7ff4ad6dfbfbf97d44269fae8cb3bee1ea4e55ae7c83385a5acf27c1041a8c96e9dbf25f6359be65d263f4b6ae854b447855eda9e6ac64da3d48a3083456c5a8 020_all_configure.patch
-007a787fd57e209302c999b1fb018bae94fe2150f7ecbbddec7e637444ee8e3f9965b14d0f89eab4e68cf5c374cc7e4bdc1087120be64efe7a953a21cd160bce 040_all_yaccldflags.patch
-02c3dcf8c18bafc984f1396c576704b20a566e08a963bad877295018ede86dd530a6f770bab156506532564606f148454407e2497c19985a52a1d68625f1330f 050_all_objinfoldflags.patch
-888f3aac57751fc6944f62e8cb14e3c17184f331144a58058ee8ac49a3a9add49f7a6e0f6024a36b960d0b8e8db9e80fbf91318c63241f86248caab4b2fdd99e 060_all_linkorder.patch"
+md5sums="ef1a324608c97031cbd92a442d685ab7 ocaml-4.02.3.tar.gz
+fd073bf6c3a451a031b4900a86c0db48 010_all_execstacks.patch
+3838542279e0367271bf4dfd3dbb73c7 020_all_configure.patch
+2dbce3de02afd4041311c3eb0076fa1e 050_all_objinfoldflags.patch"
+sha256sums="928fb5f64f4e141980ba567ff57b62d8dc7b951b58be9590ffb1be2172887a72 ocaml-4.02.3.tar.gz
+63e22fa143c3503951e5f3919028969b1713e2818a1158e5b0a340c4cf27bef8 010_all_execstacks.patch
+5344d1cf1a90fd5c12467da35688dde283cf2f0b19eefd7a04a6d570841a3fb8 020_all_configure.patch
+817fac532237d986277476c6890a498e5095f584c1959b286d188b51b0de1dbc 050_all_objinfoldflags.patch"
+sha512sums="be69e00abc2503582d7a07440a59db6bc992cce8ed2812bf02de07578760ead2858544013bb1a7a28a3c812b79c2f545cdaef11653b04a39c04a898510c36187 ocaml-4.02.3.tar.gz
+9c3ed77d84c4d1766f4d5568ca6c33aff08bd9d118b5a8c7af84b1263e39d3bba1e74221aad7290a10bc79a2c8ee86a7fa57d02eacabc9d36c14c7dacdda42cb 010_all_execstacks.patch
+a4fb27979a75d951ee5c065e628028f03527618855fac4af3321cd2466953e0d1d40dec01816c012596ae656fb5bee51a2112b5038122a98e60d190f13e474b1 020_all_configure.patch
+7d3f60153ab7df98879c6acff04e90977633449e16d176a48f492a6995a0a201e0f14255e6c45788edb6174832316e1ab893622a0b24d8dd1864ab8a0109e6ba 050_all_objinfoldflags.patch"