aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-11 18:05:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-11 18:08:41 +0000
commit78660782825183624ae4f97681251b17a462c914 (patch)
tree13f3cc5e02ed2e377a3f2cf03b60b0cec2d9b668 /community
parent38e27c154653d9bf0ae411cfbc4e1147d504c5f2 (diff)
downloadaports-78660782825183624ae4f97681251b17a462c914.tar.bz2
aports-78660782825183624ae4f97681251b17a462c914.tar.xz
community/xmlsec: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/xmlsec/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/community/xmlsec/APKBUILD b/community/xmlsec/APKBUILD
new file mode 100644
index 0000000000..b459295f94
--- /dev/null
+++ b/community/xmlsec/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Sander Maijers <S.N.Maijers+Alpine@gmail.com>
+# Maintainer: Sander Maijers <S.N.Maijers+Alpine@gmail.com>
+pkgname='xmlsec'
+pkgver='1.2.22'
+pkgrel=2
+pkgdesc="Provides a C based implementation for XML Signature Syntax and Processing and XML Encryption Syntax and Processing."
+url="https://github.com/lsh123/${pkgname}/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev=
+makedepends="${depends_dev} libxml2-dev libxslt-dev libressl-dev autoconf automake libtool"
+install=
+subpackages="${pkgname}-dev ${pkgname}-doc"
+source="${url}/archive/${pkgname}-${pkgver//./_}.tar.gz"
+builddir="${srcdir}/${pkgname}-${pkgname}-${pkgver//./_}"
+
+prepare() {
+ cd "${builddir}"
+ ./autogen.sh
+}
+
+build() {
+ cd "${builddir}"
+ ./configure \
+ --build="$CBUILD" \
+ --host="$CHOST" \
+ --prefix='/usr' \
+ --disable-static \
+ --enable-pkgconfig \
+ --with-default-crypto='openssl' \
+ || return 1
+ make || return 1
+}
+
+check() {
+ cd "${builddir}" &&
+ make -k check || return 1
+}
+
+package() {
+ cd "${builddir}" &&
+ make DESTDIR="${pkgdir}" install || return 1
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" &&
+ install -m644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/" \
+ || return 1
+}
+
+md5sums="b0bdaeee4cb39bfe56f2d28bae17faa8 xmlsec-1_2_22.tar.gz"
+sha256sums="f04da7bb6e20e9b9b7a39bb64cfad6836c665cfa6e14f6316fc24fcac6cbac06 xmlsec-1_2_22.tar.gz"
+sha512sums="f03b2dd9fdd9152e4a13466bf71018a2ef5290425019d7576a6f9e9e40bd30b9e6c1895a1ba65cc819dd56a86ea1c6c47142250c6e0695d5c02d4e0322bd8b67 xmlsec-1_2_22.tar.gz"