summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 21:42:14 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-26 21:42:14 +0000
commit9c9e18e9c426160407302df709bcf399446ae4ca (patch)
treeacda1275683dae750539e30e0b16f06b23b46438
parent5b06505c8d39ecec8fd376cf476f5cc86e5a04bf (diff)
downloadpackages-9c9e18e9c426160407302df709bcf399446ae4ca.tar.gz
packages-9c9e18e9c426160407302df709bcf399446ae4ca.tar.bz2
packages-9c9e18e9c426160407302df709bcf399446ae4ca.tar.xz
packages-9c9e18e9c426160407302df709bcf399446ae4ca.zip
user/lksctp-tools: new package
-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"