X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 6C8C9DC14B4 for ; Thu, 31 Mar 2016 18:06:39 +0000 (UTC) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 3CC65DC003D for ; Thu, 31 Mar 2016 18:06:38 +0000 (UTC) Received: by mail-io0-f173.google.com with SMTP id e3so123845263ioa.1 for ; Thu, 31 Mar 2016 11:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blyler.cc; s=google; h=from:to:cc:subject:date:message-id; bh=UcQ9ztY3wbMqsg/uhHVtnrFhuGhTusfFMXqTaOVm/sc=; b=QMfOaTys31e0rKD2vzqHCzPHs9xQHLWDsTaF/CKH44/3biLGTvzaBWYezsxxGhNS3n wk1kJd5C+F+2yAuAb3SIfNu+LN8jWJ+ren9C2U1/roKTmYKrgFpdr2ftFVcaBg9Pt9CI ZK4yaxS+KDaulSjMXrWfmQ3Gp1jut7Q8mySNA= 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=UcQ9ztY3wbMqsg/uhHVtnrFhuGhTusfFMXqTaOVm/sc=; b=jtJVYBNa9evtWz35WQvfD1WGoV7+dmje10P4NECX/3x1+pH6RDhPQ/ukjDfixyzgwD MnElZ8UViktiN+2zHZ7JiTRqn9vqj9AwyQxICI+NW1qOhSh4LhYeK3W6n9Y3v7s7OaTV U7gDz4aiEJb6I2yI1gJeyEXEE61PBeTHkA4WLgqCf14ZM9MooqKsE3t/tFqx3unTlBnD 61wP8xIPL90JNwpez69jBQlFDcbMvP5t6oLj4oqLWDFMUPeNt8NCNXncyzyoULY9ZeDt TR225Mzt7BlFfOK4hafFsCppsttZvhkC8DTtnVdvaOpgS3/zjrXqh9gfBY6E64hMN95W yXBQ== X-Gm-Message-State: AD7BkJLCl8HmaD8ZjdK4YnasXxogveFD2XWyJo8HWbmr3B+Po9AifeQfTDIVDPY+E5R7CA== X-Received: by 10.107.128.149 with SMTP id k21mr5078227ioi.127.1459447598155; Thu, 31 Mar 2016 11:06:38 -0700 (PDT) Received: from build.cudanet.local ([173.225.179.34]) by smtp.gmail.com with ESMTPSA id m65sm3166262ioa.1.2016.03.31.11.06.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Mar 2016 11:06:36 -0700 (PDT) From: Andy Blyler To: alpine-aports@lists.alpinelinux.org Cc: Andy Blyler Subject: [alpine-aports] [PATCH] testing/php7-ast: new aport Date: Thu, 31 Mar 2016 12:45:10 -0500 Message-Id: <1459446310-6610-1-git-send-email-andy@blyler.cc> X-Mailer: git-send-email 2.6.6 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: https://github.com/nikic/php-ast Extension exposing PHP 7 abstract syntax tree --- testing/php7-ast/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/php7-ast/APKBUILD diff --git a/testing/php7-ast/APKBUILD b/testing/php7-ast/APKBUILD new file mode 100644 index 0000000..6e7d4b1 --- /dev/null +++ b/testing/php7-ast/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Andy Blyler +# Maintainer: Fabio Ribeiro +pkgname=php7-ast +_pkgext=ast +_pkgreal=php-ast +pkgver=0.1.1 +_pkgver=${pkgver/_rc/RC} +pkgrel=0 +pkgdesc="PHP7 extension exposing PHP 7 abstract syntax tree" +url="https://github.com/nikic/php-ast" +arch="x86_64 armhf" +license="BSD" +depends="php7" +pecldepends="php7-dev autoconf" +makedepends="$pecldepends" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/nikic/php-ast/archive/v$_pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgreal-$_pkgver +build() { + cd "$_builddir" + phpize7 || return 1 + ./configure --prefix=/usr \ + --with-php-config=/usr/bin/php-config7 \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make INSTALL_ROOT="$pkgdir/" install || return 1 + install -d "$pkgdir"/etc/php7/conf.d || return 1 + echo "extension=$_pkgext.so" > "$pkgdir"/etc/php7/conf.d/$_pkgext.ini +} + +md5sums="8ea356bd81ed52e838ac1105433c7ab6 php7-ast-0.1.1.tar.gz" +sha256sums="85ecc69fa9ba777c1ee6218f5afcc78e13f9c0506b147a6c173a5976c9977967 php7-ast-0.1.1.tar.gz" +sha512sums="c007315e9bc674f80e99dc5b0b4405a3da8e523d038f0e08102de07a3a214cc0558927e426c766548d24f806e3ef6449181c80bebb22856ac824cb412b93625b php7-ast-0.1.1.tar.gz" -- 2.6.6 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---