From 9c9e18e9c426160407302df709bcf399446ae4ca Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 Feb 2019 21:42:14 +0000 Subject: user/lksctp-tools: new package --- user/lksctp-tools/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/lksctp-tools/APKBUILD (limited to 'user/lksctp-tools/APKBUILD') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2