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 7B018DC8154 for ; Thu, 3 Sep 2015 14:04:07 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5247ADC001E for ; Thu, 3 Sep 2015 14:04:06 +0000 (UTC) Received: by obuk4 with SMTP id k4so33128619obu.2 for ; Thu, 03 Sep 2015 07:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=o9swa5n7RMjbbIuaBl3tTaKbMT9IIZ8MfrRzU1GQJIc=; b=RYCuHEEdCEOkl+7SkNJyE1fCdzItIU0uSRAi8S1ovPo6AI6zN0MiNIeuZIpqm56W82 LEbDjr+YFCEx+FrXuVj1uSEHp3VjlswP0N7aElhIOHb2qOjSCGnvovJeAbq6r2JJY0fl Nb/3xEgdZzpNttXEp5CjNd7xr6caXHbF8UIwYvGXlPVIIKbb2Ra1r/Q0Gdby4GuyBEy5 ndkg/4gA3fbtrOmHxv4MuUGEuorJzl3exjPYMa3W3l2DveEiWiCeHca4UEh8JDRY5Ohp Xybap9D0254uipvUrBkcNfarG9x5f+2xkEimaFBWsot9H1Z8iM+9IUZ/EL3+xZuk1Ts2 57ZA== X-Received: by 10.182.28.105 with SMTP id a9mr12717855obh.51.1441289043904; Thu, 03 Sep 2015 07:04:03 -0700 (PDT) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.60.40.231 with HTTP; Thu, 3 Sep 2015 07:03:44 -0700 (PDT) From: Sander Maijers Date: Thu, 3 Sep 2015 16:03:44 +0200 Message-ID: Subject: [alpine-aports] [PATCH] testing/xmlsec: new aport To: alpine-aports@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 X-Virus-Scanned: ClamAV using ClamSMTP https://www.aleksey.com/xmlsec Provides a C based implementation for XML Signature Syntax and Processing and XML Encryption Syntax and Processing. --- testing/xmlsec/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 testing/xmlsec/APKBUILD diff --git a/testing/xmlsec/APKBUILD b/testing/xmlsec/APKBUILD new file mode 100644 index 0000000..adfe180 --- /dev/null +++ b/testing/xmlsec/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Sander Maijers +# Maintainer: Sander Maijers +pkgname='xmlsec' +pkgver='1.2.20' +pkgrel='0' +pkgdesc="Provides a C based implementation for XML Signature Syntax and Processing and XML Encryption Syntax and Processing." +url="https://www.aleksey.com/${pkgname}" +arch="all" +license="MIT" +depends="libxml2 libxslt openssl libltdl" +depends_dev= +makedepends="${depends_dev} libxml2-dev libxslt-dev openssl-dev libltdl" +install= +subpackages="${pkgname}-dev ${pkgname}-doc" +source="${url}/download/${pkgname}1-${pkgver}.tar.gz" +_builddir="${srcdir}/${pkgname}1-${pkgver}" + +prepare() { + : +} + +build() { + cd "${_builddir}" && + './configure' \ + --build="$CBUILD" \ + --disable-static \ + --enable-pkgconfig \ + --host="$CHOST" \ + --prefix='/usr' \ + --with-default-crypto='openssl' && + make || return 1 +} + +check() { + cd "${_builddir}" && + make -k check || return 1 +} + +package() { + cd "${_builddir}" && + make DESTDIR="${pkgdir}" install || return 1 + [ -d "${pkgdir}" ] && find "${pkgdir}"'/usr' -type 'f' -name '*.la' -delete + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" && + install -m644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 +} + +md5sums="ce12af00283eb90d9281956524250d6e xmlsec1-1.2.20.tar.gz" +sha256sums="3221593ca50f362b546a0888a1431ad24be1470f96b2469c0e0df5e1c55e7305 xmlsec1-1.2.20.tar.gz" +sha512sums="2f8d473916abf9822367edbe857fc2e12dc9858d12e790d689d787e439904bd6a452bf631043aa66e7502457ab0815a473657f58fca17a213e2490f5655e5ae5 xmlsec1-1.2.20.tar.gz" -- 2.5.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---