aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2017-04-29 15:08:37 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-05-02 09:41:09 +0000
commit988ab9f1a02b958966c19232fc8eb26b1298081a (patch)
tree5e1e96b96e4d124af5417ddb42868bf22a40b626 /testing
parent92dbdda5fb890342a45fc56f376d8c2bf652dccb (diff)
downloadaports-988ab9f1a02b958966c19232fc8eb26b1298081a.tar.bz2
aports-988ab9f1a02b958966c19232fc8eb26b1298081a.tar.xz
community/ocaml-findlib: move from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/ocaml-findlib/APKBUILD57
-rw-r--r--testing/ocaml-findlib/Makefile.patch11
2 files changed, 0 insertions, 68 deletions
diff --git a/testing/ocaml-findlib/APKBUILD b/testing/ocaml-findlib/APKBUILD
deleted file mode 100644
index 8f249f7250..0000000000
--- a/testing/ocaml-findlib/APKBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Contributor: Jakub Jirutka <jakub@jirutka.cz>
-# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
-pkgname=ocaml-findlib
-_pkgname=findlib
-pkgver=1.6.2
-pkgrel=1
-pkgdesc="OCaml package manager"
-url="http://projects.camlcity.org/projects/findlib.html"
-arch="all !x86 !armhf !ppc64le" # limited by ocaml abuild
-license="MIT"
-depends="ocaml"
-depends_dev="$pkgname"
-makedepends="m4 ncurses-dev"
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://download.camlcity.org/download/$_pkgname-$pkgver.tar.gz
- Makefile.patch"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
-
- ./configure \
- -sitelib /usr/lib/ocaml \
- -mandir /usr/share/man \
- -config /etc/$_pkgname.conf || return 1
- make all opt
-}
-
-package() {
- cd "$builddir"
-
- make prefix="$pkgdir" install || return 1
-
- mkdir -p "$pkgdir"/usr/share/doc/$_pkgname/
- install -m 644 doc/README doc/QUICKSTART \
- "$pkgdir"/usr/share/doc/$_pkgname/
-}
-
-dev() {
- local sitelib="usr/lib/ocaml/$_pkgname"
-
- default_dev || return 1
-
- cd "$pkgdir"
- mkdir -p "$subpkgdir"/$sitelib
- mv $sitelib/*.cmxa \
- $sitelib/*.mli \
- $sitelib/Makefile.config \
- "$subpkgdir"/$sitelib/
-}
-
-md5sums="530ff275d6b96e140f0d3a03ed14b68e findlib-1.6.2.tar.gz
-c04881f3c22cd76995cec2e43cdbf5dd Makefile.patch"
-sha256sums="3917904342ffbb66089f9fec1adc023b8854178bc21f303e4cbf96b8b164c946 findlib-1.6.2.tar.gz
-bd89122837bc304f89dcd438e174d681fa145d80299ef3af1f6f71a08a8143ab Makefile.patch"
-sha512sums="8c4098e6956530bc88d20a1b91512c68368e8a866398ce4d504afe3f71e81124c01644ba31ff97da6e61e7410328b533fb1d31a513166231047dab1933179fc4 findlib-1.6.2.tar.gz
-e6f9b0d4519518b01665142061f07f329ab8a4ced0c6b8c7aaa3dd8801548a2154616da7369e9d923635fb5c1d16e77623acb51c235f2141aa25357c907de9af Makefile.patch"
diff --git a/testing/ocaml-findlib/Makefile.patch b/testing/ocaml-findlib/Makefile.patch
deleted file mode 100644
index 6d95658469..0000000000
--- a/testing/ocaml-findlib/Makefile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -71,7 +71,7 @@ findlib.conf: findlib.conf.in
-
- .PHONY: install-doc
- install-doc:
-- mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3 $(prefix)$(OCAMLFIND_MAN)/man5"
-+ mkdir -p "$(prefix)$(OCAMLFIND_MAN)/man1" "$(prefix)$(OCAMLFIND_MAN)/man3" "$(prefix)$(OCAMLFIND_MAN)/man5"
- -cp doc/ref-man/ocamlfind.1 "$(prefix)$(OCAMLFIND_MAN)/man1"
- -cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "$(prefix)$(OCAMLFIND_MAN)/man5"
-