summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 04:18:20 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 04:18:20 -0500
commit2d05ea17a6e87e3e81effa62285b6b12388f3a8c (patch)
tree4ef2fcb8aacc4df75387784d3e21c04ad7fea9fe /user
parent547130f9d0b1d64eb1f4bef8c72297978290bf72 (diff)
downloadpackages-2d05ea17a6e87e3e81effa62285b6b12388f3a8c.tar.gz
packages-2d05ea17a6e87e3e81effa62285b6b12388f3a8c.tar.bz2
packages-2d05ea17a6e87e3e81effa62285b6b12388f3a8c.tar.xz
packages-2d05ea17a6e87e3e81effa62285b6b12388f3a8c.zip
user/xmlsec: bump to 1.2.26, modernise
Diffstat (limited to 'user')
-rw-r--r--user/xmlsec/APKBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/user/xmlsec/APKBUILD b/user/xmlsec/APKBUILD
index 4a3b752ed..ffadaa957 100644
--- a/user/xmlsec/APKBUILD
+++ b/user/xmlsec/APKBUILD
@@ -1,33 +1,32 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname="xmlsec"
-pkgver=1.2.25
+pkgver=1.2.26
pkgrel=0
pkgdesc="C-based XML signature and encryption syntax and processing library"
-url="https://github.com/lsh123/${pkgname}/"
+url="https://github.com/lsh123/$pkgname/"
arch="all"
+options="libtool"
license="MIT"
depends=""
depends_dev=""
-makedepends="${depends_dev} libxml2-dev libxslt-dev openssl-dev nss-dev
+makedepends="$depends_dev libxml2-dev libxslt-dev nss-dev openssl-dev
autoconf automake libtool"
-install=""
-options="libtool"
subpackages="$pkgname-nss $pkgname-dev $pkgname-doc"
-source="${url}/archive/${pkgname}-${pkgver//./_}.tar.gz"
-builddir="${srcdir}/${pkgname}-${pkgname}-${pkgver//./_}"
+source="$url/archive/$pkgname-${pkgver//./_}.tar.gz"
+builddir="$srcdir/$pkgname-$pkgname-${pkgver//./_}"
prepare() {
- cd "${builddir}"
+ cd "$builddir"
default_prepare
./autogen.sh
}
build() {
- cd "${builddir}"
+ cd "$builddir"
./configure \
- --build="$CBUILD" \
- --host="$CHOST" \
- --prefix='/usr' \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
--disable-static \
--enable-pkgconfig \
--with-openssl=/usr \
@@ -38,16 +37,16 @@ build() {
}
check() {
- cd "${builddir}"
+ cd "$builddir"
make -k check
}
package() {
- cd "${builddir}"
- make DESTDIR="${pkgdir}" install
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
+ install -m644 'COPYING' "$pkgdir/usr/share/licenses/$pkgname/"
}
nss() {
@@ -57,4 +56,4 @@ nss() {
mv "$pkgdir"/usr/lib/libxmlsec1-nss.so* "$subpkgdir"/usr/lib/
}
-sha512sums="3f05d76c70eecbcb38b466fc191a13ff692a39e36ab04c7d667f726b9e59e8896ce469e147f907fb044b154d0d5f00b89f6c0fc6d84a90b715efe6c80e0e123d xmlsec-1_2_25.tar.gz"
+sha512sums="f685f513db0287bc4e5cc6d06b5ed9731cbc03c0e20e1f18da9251fce79f1c6966dc094277f0451e47fd2565018daf77b2126f06f1a56d85ff31f7d3ffa3e2a0 xmlsec-1_2_26.tar.gz"