summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/lksctp-tools/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/lksctp-tools/APKBUILD b/user/lksctp-tools/APKBUILD
new file mode 100644
index 000000000..adeeec587
--- /dev/null
+++ b/user/lksctp-tools/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=lksctp-tools
+pkgver=1.0.17
+pkgrel=0
+pkgdesc="Tools for using SCTP on Linux"
+url="http://lksctp.sourceforge.net/"
+arch="all"
+license="GPL-2.0-only AND LGPL-2.1-only"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz"
+builddir="$srcdir/lksctp-tools-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="055719130b7dda4da9cf002dcd5f1fb3d8cf75300a99365976e087b2b6971b4ccd357f95b515a44e37874af161f7b7f9b42c60191aff938d18fada5a49aa44c4 lksctp-tools-1.0.17.tar.gz"