aboutsummaryrefslogtreecommitdiffstats
path: root/main/libgsasl/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-26 16:06:56 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-01 17:51:01 +0000
commitcf4568e6298d6295c853800fd9d5382eb7cfd64d (patch)
tree38158e21d09196af49261a5787d1e2e41e4ef59f /main/libgsasl/APKBUILD
parent0c86175dcaf95b76e96c3b90bc12565373d228a8 (diff)
downloadaports-cf4568e6298d6295c853800fd9d5382eb7cfd64d.tar.bz2
aports-cf4568e6298d6295c853800fd9d5382eb7cfd64d.tar.xz
main/libgsasl: use https:// for source
Closes !159
Diffstat (limited to 'main/libgsasl/APKBUILD')
-rw-r--r--main/libgsasl/APKBUILD30
1 files changed, 15 insertions, 15 deletions
diff --git a/main/libgsasl/APKBUILD b/main/libgsasl/APKBUILD
index 06b8bdb14d..0968fe384f 100644
--- a/main/libgsasl/APKBUILD
+++ b/main/libgsasl/APKBUILD
@@ -2,26 +2,22 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=libgsasl
pkgver=1.8.0
-pkgrel=3
+pkgrel=4
pkgdesc="An implementation of the Simple Authentication and Security Layer framework"
url="https://www.gnu.org/software/gsasl/"
arch="all"
license="LGPL-2.0-or-later"
-depends=""
-depends_dev="pkgconfig"
-makedepends="$depends_dev libidn-dev libgss-dev libgcrypt-dev"
-install=""
+makedepends="libidn-dev libgss-dev libgcrypt-dev"
subpackages="$pkgname-dev"
-source="ftp://ftp.gnu.org/gnu/gsasl/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
+source="https://ftp.gnu.org/gnu/gsasl/libgsasl-$pkgver.tar.gz"
prepare() {
- default_prepare || return 1
+ default_prepare
update_config_guess
}
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -29,15 +25,19 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--with-libgcrypt \
- --disable-nls \
- || return 1
- make || return 1
- make tests || return 1
+ --disable-nls
+ make
+}
+
+check() {
+ cd "$builddir"
+ make tests
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/lib/*.a
}
sha512sums="7e591d12404919559bf67590f862270ffcae2030a14097cdaf92820aa79619b3048541e9f83b3fcb98a84622c44a52ecaceeebb1be55b9e9f68fb1790ade8721 libgsasl-1.8.0.tar.gz"