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 0DF14DC1506 for ; Thu, 7 Apr 2016 00:19:27 +0000 (UTC) Received: from mail-qg0-f47.google.com (mail-qg0-f47.google.com [209.85.192.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D7287DC02A0 for ; Thu, 7 Apr 2016 00:19:26 +0000 (UTC) Received: by mail-qg0-f47.google.com with SMTP id f105so26632889qge.2 for ; Wed, 06 Apr 2016 17:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dafiti.com.br; s=google; h=mime-version:from:to:cc:subject:date:message-id :content-transfer-encoding; bh=Z0hJp/mHStMZWgAW1gLdaY/zvbfQZTAt526wjsj9VOM=; b=HuRbsDrJLgXrCJh2LPcT5FyYmzvje9Yt6bVl6ivm16q+bbX8P+fgwCXK6HnvXsWerJ 2fcziODZ655K3+EWFQmeOBYvwCLdSmUJj1KJzPjR+v848RaR6gztdrXZeRIAqlpCCVhO A8M1571prb2OBORO84LZg5rV6Ls920QsDZue4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:to:cc:subject:date:message-id :content-transfer-encoding; bh=Z0hJp/mHStMZWgAW1gLdaY/zvbfQZTAt526wjsj9VOM=; b=QJUkvKRbasjE/kKsA6deza/mUQBnQtw52VOqDzysldtezo+phwXTGdbFZpSArR0zKc l8ZRHd/VcUAIcUh6aOsj2Ph6bGNQ9ALqHHUO+2y9koxy5x2hI2eT4aC5/lbUUu6lFDZz DaUMberKNd6gMJrd5bpyx33B+X4BHZ25spA3N69CUxJKDac6vnBiwRjtsTjPj5nLKQ+H 24mkgbvtrNlxK62t9noWO0uTiWKS2rewamhXkbOBrv5Rk4a/07AGlNW8StCUid0Z479K gl3nt91Ol0WXoD59ofZan+uBzZUdxuvl6rSPeelfgUZinoMSeDXKJ3pLZD90jbIf5QrE sb0A== X-Gm-Message-State: AD7BkJITsSl9IiVYp+rf8/a3ctRuP1RGqV90Lt1OLm1qyeqxO5udNkJMCfqKR9u/9rHzNqmhIO5hcPY7rfDYDBubGpViJDfvjo4KDCWcYUsoIf0Du6A90mB0pOdzmZSMlavw7xUTtNNs3XwqDz/dhQ== X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.140.40.37 with SMTP id w34mr29923431qgw.85.1459984692586; Wed, 06 Apr 2016 16:18:12 -0700 (PDT) Received: from hendrix.dafiti.local ([200.205.195.2]) by smtp.gmail.com with ESMTPSA id t83sm2256264qht.12.2016.04.06.16.18.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Apr 2016 16:18:11 -0700 (PDT) From: Fabio da Silva Ribeiro To: alpine-aports@lists.alpinelinux.org Cc: Fabio da Silva Ribeiro Subject: [alpine-aports] [PATCH] testing/php7-libsodium: PHP7 Lib Sodium package Date: Wed, 6 Apr 2016 20:18:07 -0300 Message-Id: <1459984687-26730-1-git-send-email-silva.ribeiro@dafiti.com.br> X-Mailer: git-send-email 2.5.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP --- testing/php7-libsodium/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 testing/php7-libsodium/APKBUILD diff --git a/testing/php7-libsodium/APKBUILD b/testing/php7-libsodium/APKBU= ILD new file mode 100644 index 0000000..e8a763e --- /dev/null +++ b/testing/php7-libsodium/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Fabio Ribeiro +# Maintainer: Fabio Ribeiro +pkgname=3Dphp7-libsodium +_pkgreal=3Dlibsodium +pkgver=3D1.0.4 +_pkgver=3D${pkgver} +pkgrel=3D0 +pkgdesc=3D"A simple, low-level PHP extension for libsodium." +url=3D"http://pecl.php.net/package/$_pkgreal" +arch=3D"x86_64 armhf" +license=3D"PHP" +depends=3D +pecldepends=3D"php7-dev autoconf libsodium-dev" +makedepends=3D"$pecldepends" +install=3D"" +subpackages=3D"" +source=3D"http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" + +builddir=3D"$srcdir"/$_pkgreal-$_pkgver + +build() { + cd "$builddir" + phpize7 || return 1 + ./configure --prefix=3D/usr --with-php-config=3Dphp-config7 || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make INSTALL_ROOT=3D"$pkgdir"/ install || return 1 + install -d "$pkgdir"/etc/php7/conf.d || return 1 + echo "extension=3D$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/50_$_pkgreal.= ini +} + +md5sums=3D"43cd90ec065268981c0463b2ae1f365e libsodium-1.0.4.tgz" +sha256sums=3D"135a4acd438220d1fbd28fe19669419d1feddd961ed112c8fd54fa61ebfe= 5db2 libsodium-1.0.4.tgz" +sha512sums=3D"dbba21a24bf55a7e482e91654ada4a240691b9b17481a9f5331059bbfd70= bb2db0a6e09e5f99738e0e8b32997ada1fe277ec0f35b31b8535f2efbcecaba94bba libso= dium-1.0.4.tgz" --=20 2.5.0 --=20 *** Esta mensagem, incluindo seus anexos, pode conter informa=E7=F5es confidenc= iais=20 e/ou privilegiadas. Se voc=EA n=E3o for a pessoa autorizada a receber esta= =20 mensagem, n=E3o pode usar, copiar ou divulgar as informa=E7=F5es nela conti= das ou=20 tomar qualquer a=E7=E3o baseada nessas informa=E7=F5es. Caso esta mensagem = tenha=20 sido recebida por engano, por favor avise imediatamente o remetente,=20 respondendo o e-mail e em seguida elimine-a do seu sistema. Agradecemos sua= =20 coopera=E7=E3o. This message, including any attachments, may contain confidential and/or=20 privileged information. If you are not the addressee or authorized to=20 receive this for the addressee, you must not use, copy, disclose or take=20 any action based on this message or any information herein. If you have=20 received this message in error, please advise the sender immediately by=20 reply e-mail and delete this message.Thank you for your cooperation --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---