aboutsummaryrefslogtreecommitdiffstats
path: root/main/lksctp-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lksctp-tools/APKBUILD')
-rw-r--r--main/lksctp-tools/APKBUILD21
1 files changed, 14 insertions, 7 deletions
diff --git a/main/lksctp-tools/APKBUILD b/main/lksctp-tools/APKBUILD
index ea6d1c308e..b6611a2715 100644
--- a/main/lksctp-tools/APKBUILD
+++ b/main/lksctp-tools/APKBUILD
@@ -1,17 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lksctp-tools
-pkgver=1.0.17
+pkgver=1.0.18
pkgrel=0
pkgdesc="User-space access to Linux Kernel SCTP"
url="http://lksctp.sourceforge.net"
arch="all"
options="!check" # sctp_connectx in v4test fails on kernel 4.14
-license="GPL-2.0 and GPL-2.0-or-later and LGPL-2.0 and MIT"
-depends=""
+license="GPL-2.0-only AND LGPL-2.1-or-later"
makedepends="libtool automake autoconf linux-headers"
-install=""
-subpackages="$pkgname-dev $pkgname-doc"
-source="https://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc lib${pkgname%-tools}:libs"
+source="$pkgname-$pkgver.tar.gz::https://github.com/sctp/$pkgname/archive/v$pkgver.tar.gz
+ header-install.patch
+ "
prepare() {
cd "$builddir"
@@ -40,4 +40,11 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="055719130b7dda4da9cf002dcd5f1fb3d8cf75300a99365976e087b2b6971b4ccd357f95b515a44e37874af161f7b7f9b42c60191aff938d18fada5a49aa44c4 lksctp-tools-1.0.17.tar.gz"
+libs() {
+ default_libs
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/lksctp-tools "$subpkgdir"/usr/lib
+}
+
+sha512sums="1d7275fadc0f2270865307cff2645810e9bab6c1a97e70be6115cace737334dbdd87a072fae25b89dd9cac2e05974556542de70ea8ef70b9e4f14873c82a5055 lksctp-tools-1.0.18.tar.gz
+0f26eba03b163e7f3d5dd9760e01734547603a69fb1fe93826c68503b13a175f7f848f9cfbcf79d5509823219c637c3155988a2ae29b080c508ee22b48da28f8 header-install.patch"