X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by lists.alpinelinux.org (Postfix) with ESMTP id 59E035C4184 for ; Thu, 7 Jul 2016 15:43:01 +0000 (GMT) Received: by mail-pf0-f193.google.com with SMTP id t190so2117338pfb.2 for ; Thu, 07 Jul 2016 08:43:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UWAovWDp7IWrFtE4h1sSlRrwh3sGaiM3rPzev0RntPs=; b=Y1fvnYHVhj+MXY1Z2cc7yvAg6/vAQ/DgdbBm9qoBpjbv4eI7o2c05ng4tP0VhQwd7v IV8e9lruCSi6gVgZp6+J9COo9wdIuUNSEjObO+/nTFqUJPm2E1/7CkuNd/ZLnnr4AU58 jcXVoe4dZuy2IrEU8LGgRUQoiprLIZq0qKfHX6MUhWbqr2+SDRLJWZfOpTFWwWp4N0wL cr3CfdUwRUyqosjeSyXIyJH++QNpkFgHxA4embUFq++asUiOiNgWkXj7uT03GWWWlK8h /Qi++2/mn2OOuznSt54j00bPY0oON4M/r5Z2VzMqNkTibOWYniB0doI3eBGPlQv+Ofra +yqQ== X-Gm-Message-State: ALyK8tLEhSLqM8WmibVzTGCtghAgc6KFIIJhgFlxZIfpt3z/tKTH73zfAFy4MvH5TJhpng== X-Received: by 10.98.62.220 with SMTP id y89mr1421095pfj.9.1467906180557; Thu, 07 Jul 2016 08:43:00 -0700 (PDT) Received: from alpine.my.domain ([101.127.145.54]) by smtp.gmail.com with ESMTPSA id jh3sm5551816pac.14.2016.07.07.08.42.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 08:42:59 -0700 (PDT) From: Jon Ong To: alpine-aports@lists.alpinelinux.org Cc: Jon Ong Subject: [alpine-aports] [PATCH] testing/ocamlbuild: new aport Date: Thu, 7 Jul 2016 23:42:45 +0800 Message-Id: <1467906165-29366-1-git-send-email-jonongjs@rottenmage.com> X-Mailer: git-send-email 2.8.2 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/ocaml/ocamlbuild Generic build tool with built-in rules for building OCaml library and programs. --- testing/ocamlbuild/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/ocamlbuild/APKBUILD diff --git a/testing/ocamlbuild/APKBUILD b/testing/ocamlbuild/APKBUILD new file mode 100644 index 0000000..66a0919 --- /dev/null +++ b/testing/ocamlbuild/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Jon Ong +# Maintainer: +pkgname=ocamlbuild +pkgver=0.9.2 +pkgrel=0 +pkgdesc="Generic build tool with built-in rules for building OCaml library and programs." +url="https://github.com/ocaml/ocamlbuild" +arch="all" +license="GPL2" +depends="ncurses" +makedepends="ocaml" +options="" +install="" +subpackages="" + +source="${pkgname}-${pkgver}.tar.gz::https://github.com/ocaml/ocamlbuild/archive/${pkgver}.tar.gz" + +builddir="$srcdir/$pkgname-$pkgver" +build() { + cd "$builddir" + + make configure OCAML_NATIVE=true \ + OCAMLBUILD_BINDIR="/usr/bin" \ + OCAMLBUILD_LIBDIR="/usr/lib/ocaml" || return 1 + make || return 1 +} + +package() { + cd "$builddir" + + make DESTDIR="$pkgdir" install +} +md5sums="b8c90bac4e54e3b5b8243c4845122dd2 ocamlbuild-0.9.2.tar.gz" +sha256sums="257a3961da1aa47deb3de8da238ebe1daf13a73efef2228f97a064a90f91c6bc ocamlbuild-0.9.2.tar.gz" +sha512sums="6f6fa2ca0030256b61a9f93275f26327a032594a1ddd288e1eb9f4c41dfc139e4cdb6cd66ae8e383dd2f8aabb435181abfbf6b4aa0892ef6fa420c29e33b391a ocamlbuild-0.9.2.tar.gz" -- 2.8.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---