X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-pa0-f67.google.com (mail-pa0-f67.google.com [209.85.220.67]) by lists.alpinelinux.org (Postfix) with ESMTP id 4E5745C4186 for ; Thu, 7 Jul 2016 15:57:45 +0000 (GMT) Received: by mail-pa0-f67.google.com with SMTP id us13so2112615pab.1 for ; Thu, 07 Jul 2016 08:57:45 -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:in-reply-to :references; bh=Wv4NN60qe4rmDrkLn1oha2agCg0+RrhenVsRK78bWYM=; b=eVkX1bbKax9nd3S5HuaYABof0q1eDM9EY+Mp6TKXPKpSnwuKuZyZ7PhTZurPDID6Gi 0rwaN5veM7GkaC2g3FKxzJm2HxyLEn1MqrzPihOo712tktauxI/dTC8EplaaVnG+AjtC l3/oBsKsneoO9AoCIkJElkbyBwi+K9QXIng1PV/MDkyPB5bcXQGGRgbNzQNs8q/7PibK 47KWyDQsy/KOFHbP5DYyM1jkrYrMvj2bxy/46xajVmmDbY7o+WJQ/U2bKMb7Q8HK4md0 PzPu1ka7IbOKAg8AQ71+sY4VWH/R06CGxLenPaKweg0zSlYUCUCZmvP19LtQyZ86dE3v I2+g== X-Gm-Message-State: ALyK8tLHwhZHO7GhjIPsDTLP1uxuZveRPiav4eNnfzMXZbHzWeOo8WAK+grGOm/WrDl3Cg== X-Received: by 10.66.144.66 with SMTP id sk2mr1564687pab.102.1467907064341; Thu, 07 Jul 2016 08:57:44 -0700 (PDT) Received: from alpine.my.domain ([101.127.145.54]) by smtp.gmail.com with ESMTPSA id i68sm5360806pfe.64.2016.07.07.08.57.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 08:57:43 -0700 (PDT) From: Jon Ong To: alpine-aports@lists.alpinelinux.org Cc: Jon Ong Subject: [alpine-aports] [PATCH] testing/camlp4: new aport Date: Thu, 7 Jul 2016 23:57:26 +0800 Message-Id: <1467907046-29417-1-git-send-email-jonongjs@rottenmage.com> X-Mailer: git-send-email 2.8.2 In-Reply-To: <3c12087e1ef4f676620e8682ede3df2b@server-speed.net> References: <3c12087e1ef4f676620e8682ede3df2b@server-speed.net> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/ocaml/camlp4/releases Caml preprocessor and pretty-printer --- Changes v1 -> v2: - added dependency on ocamlbuild - bumped version to 4.03+1 testing/camlp4/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/camlp4/APKBUILD diff --git a/testing/camlp4/APKBUILD b/testing/camlp4/APKBUILD new file mode 100644 index 0000000..5202c30 --- /dev/null +++ b/testing/camlp4/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Jon Ong +# Maintainer: +pkgname=camlp4 +pkgver=4.03 +versuffix=+1 +pkgrel=0 +pkgdesc="Caml preprocessor and pretty-printer" +url="https://github.com/ocaml/camlp4/releases" +arch="all" +license="GPL2" +depends="ocaml" +makedepends="ocamlbuild" +options="!makeflags !emptydirs staticlibs" +install="" +subpackages="" +source="https://github.com/ocaml/camlp4/archive/${pkgver}${versuffix}.tar.gz" + +builddir="$srcdir/$pkgname-$pkgver${versuffix/+/-}" +build() { + cd "$builddir" + + ./configure || return 1 + make -j1 all camlp4/META || return 1 +} + +package() { + cd "$builddir" + + make BINDIR="$pkgdir/usr/bin" \ + LIBDIR="$pkgdir/usr/lib/ocaml" \ + PKGDIR="$pkgdir/usr/lib/ocaml" \ + install install-META || return 1 +} +md5sums="65ece8d2c8f4b1e06d62323e78759a7c 4.03+1.tar.gz" +sha256sums="6eefeacced81cca59ddf90c2538505fd5cd6596a3fc1acf4971e9796c2e7f2ae 4.03+1.tar.gz" +sha512sums="0a329e18deffebb5245415f822f91e692076fca4dbe38748f18e72f417ce7354faed744fdff25f9976659192cb02d56ceb2cf1be5c64da463413ec4a28a9d3ac 4.03+1.tar.gz" -- 2.8.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---