2 2

[alpine-aports] [PATCH] testing/ocaml-curses: new aport

Fernando Casas Schössow
Details
Message ID
<VI1PR0602MB324517D4B822F173D36F092DA46F0@VI1PR0602MB3245.eurprd06.prod.outlook.com>
Sender timestamp
1549488698
DKIM signature
missing
Download raw message
Patch: +37 -0
https://www.nongnu.org/ocaml-tmk/
OCaml bindings for ncurses
---
 testing/ocaml-curses/APKBUILD | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/ocaml-curses/APKBUILD

diff --git a/testing/ocaml-curses/APKBUILD b/testing/ocaml-curses/APKBUILD
new file mode 100644
index 0000000000..dcb0d23e7c
--- /dev/null
+++ b/testing/ocaml-curses/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Fernando Casas Schossow <casasfernando@outlook.com>
+# Maintainer: Fernando Casas Schossow <casasfernando@outlook.com>
+pkgname=ocaml-curses
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="OCaml bindings for ncurses"
+url="https://www.nongnu.org/ocaml-tmk/"
+arch="all"
+license="LGPL-2.1"
+makedepends="autoconf automake libtool ocaml ocaml-findlib-dev gawk ncurses-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://download.savannah.nongnu.org/releases/ocaml-tmk/ocaml-curses-1.0.4.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	autoreconf
+	./configure --prefix=/usr
+	make all opt
+}
+
+check() {
+	cd "$builddir"
+	make test
+	make test.opt
+}
+
+package() {
+	cd "$builddir"
+	export DESTDIR="$pkgdir"
+	export OCAMLFIND_DESTDIR="$DESTDIR/usr/lib/ocaml"
+	mkdir -p "$OCAMLFIND_DESTDIR" "$OCAMLFIND_DESTDIR/stublibs"
+	ocamlfind install curses META *.cmi *.cmx *.cma *.cmxa *.a *.so *.mli
+	install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+sha512sums="a49838f1d32bf96fda6c612ac1b38316f61c49aa015e61e49681eacf863234f36ffe71d4305dd34f8e3b0a5dc6d9757919a107bcfdf46bd90df128e975560948  ocaml-curses-1.0.4.tar.gz"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Fernando Casas Schössow
Details
Message ID
<VI1PR0602MB3245EEEBF9C61B8BC9B7ED97A4720@VI1PR0602MB3245.eurprd06.prod.outlook.com>
In-Reply-To
<CAGG_d8Dw7wXEtyRkeh8qw28J2DTEVRbZHYDHR8xpP67-mtNXHw@mail.gmail.com> (view parent)
Sender timestamp
1551796357
DKIM signature
missing
Download raw message
Hi Leonardo,

Will do.
Thanks,

Fernando

On mar, mar 5, 2019 at 3:00 PM, Leonardo Arena <rnalrd@gmail.com> wrote:
Hi,

On Wed, Feb 6, 2019 at 10:31 PM Fernando Casas Schössow <casasfernando@outlook.com<mailto:casasfernando@outlook.com>> wrote:
https://www.nongnu.org/ocaml-tmk/
OCaml bindings for ncurses
---
 testing/ocaml-curses/APKBUILD | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/ocaml-curses/APKBUILD


several ocaml-* packages have been merged with "arch" adjusted since ocaml is available only on aarch64, ppc64le and x86_64.
Would you please rebase all your ocaml-* patches?

Thank you!

/eo
Leonardo Arena
Details
Message ID
<CAGG_d8Dw7wXEtyRkeh8qw28J2DTEVRbZHYDHR8xpP67-mtNXHw@mail.gmail.com>
In-Reply-To
<VI1PR0602MB324517D4B822F173D36F092DA46F0@VI1PR0602MB3245.eurprd06.prod.outlook.com> (view parent)
Sender timestamp
1551794416
DKIM signature
missing
Download raw message
Hi,

On Wed, Feb 6, 2019 at 10:31 PM Fernando Casas Schössow <
casasfernando@outlook.com> wrote:

> https://www.nongnu.org/ocaml-tmk/
> OCaml bindings for ncurses
> ---
>  testing/ocaml-curses/APKBUILD | 37 +++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)
>  create mode 100644 testing/ocaml-curses/APKBUILD
>
>
several ocaml-* packages have been merged with "arch" adjusted since ocaml
is available only on aarch64, ppc64le and x86_64.
Would you please rebase all your ocaml-* patches?

Thank you!

/eo