X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by lists.alpinelinux.org (Postfix) with ESMTP id B3A9A5C413A for ; Sun, 26 Jun 2016 10:37:15 +0000 (GMT) Received: by mail-pf0-f195.google.com with SMTP id 66so13288501pfy.1 for ; Sun, 26 Jun 2016 03:37:15 -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=qlywD9+6PBwf5oSzb4AquemV1wKEhEMHOXFpVaRDGCw=; b=HhHETDRoC8peEHpR5jVAHGosiEjar9T1lxQ42xB2rbw8BAHvd5j443qvHWyWqjMRWK buFjoU6LzW+NjDMynh+UzFaUgfJx+AGqEKj5OsoTGOskt099fj6GcSpqY2ge180O1/sF 4zEIdySazufTIDNeEJ50om20YJzrNudgdFeQTWBxcXeTgxUN+hvaBFZyB7l7l6jKF4Q5 RfDLIc+xpr+lKYSL4rNxVIjDCeIDVREnmNAxIeQ7aywUf/2ZUmJfCtW2MP4zdg0esHzg c/itrQodhYfwYOYxWMVWynbqL2+CdPJAOy8acVLvX8S2BBJNpRN6iDZZoJDZwZAUb/uo FG/w== X-Gm-Message-State: ALyK8tJlZAx/wZR+io52prBP2JL9XvDqQ8NE+nZ2cm0qE5M+q2+Bm97WFEDdkjuRCBXkmA== X-Received: by 10.98.193.1 with SMTP id i1mr23052503pfg.78.1466937435079; Sun, 26 Jun 2016 03:37:15 -0700 (PDT) Received: from alpine.my.domain ([101.127.158.105]) by smtp.gmail.com with ESMTPSA id da2sm4959117pad.3.2016.06.26.03.37.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 26 Jun 2016 03:37:14 -0700 (PDT) From: Jon Ong To: alpine-aports@lists.alpinelinux.org Cc: Jon Ong Subject: [alpine-aports] [PATCH] testing/camlp4: new aport Date: Sun, 26 Jun 2016 18:36:55 +0800 Message-Id: <1466937415-27677-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/camlp4/releases Caml preprocessor and pretty-printer --- 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..353fd06 --- /dev/null +++ b/testing/camlp4/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Jon Ong +# Maintainer: +pkgname=camlp4 +pkgver=4.02 +versuffix=+7 +pkgrel=0 +pkgdesc="Caml preprocessor and pretty-printer" +url="https://github.com/ocaml/camlp4/releases" +arch="all" +license="GPL2" +depends="ocaml" +makedepends="git" +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="108214c9a17d94a9e004530c454590e0 4.02+7.tar.gz" +sha256sums="9a00c09dcd9595bd6fe5e66a553ffcad935106dee49e895f15ca0bf97489f774 4.02+7.tar.gz" +sha512sums="eea8af1bbce68c9d02cf3dbb588ee6f8610d19211aba298b724db91e3c2c2f21fa4f9a1cc72a1d48a7080805acfcac1bbad192583cce1288bf594c3aa0210813 4.02+7.tar.gz" -- 2.8.2 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---