diff options
-rw-r--r-- | testing/lksctp-tools/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/lksctp-tools/APKBUILD b/testing/lksctp-tools/APKBUILD new file mode 100644 index 000000000..2f489196e --- /dev/null +++ b/testing/lksctp-tools/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: +# Maintainer: +pkgname=lksctp-tools +pkgver=1.0.14 +pkgrel=0 +pkgdesc="User-space access to Linux Kernel SCTP" +url="http://lksctp.sourceforge.net" +arch="all" +license="GPLv2 and GPLv2+ and LGPLv2 and MIT" +depends="" +depends_dev="" +makedepends="$depends_dev libtool automake autoconf" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/lksctp/lksctp-tools-$pkgver.tar.gz" + +_builddir="$srcdir"/lksctp-tools-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + if ! [ -e configure ]; then + ./bootstrap + fi +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --disable-static \ + || return 1 + make + +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/lib/lksctp-tools/*.la +} + +md5sums="12bc67f9b47ea631328a592ce7a53ca1 lksctp-tools-1.0.14.tar.gz" +sha256sums="301294389709d3e19bc1c27e234df5aadef00e279345d19c92f596cf1f2e4110 lksctp-tools-1.0.14.tar.gz" +sha512sums="d7ca2c17c85210020aa8247e03b3e733f168387d41c955aab3254bb03627725a54a773a924ceb6215dbe95630f698c409690e9b680e88e15779ce9a3bc11ddb7 lksctp-tools-1.0.14.tar.gz" |