summaryrefslogtreecommitdiff
path: root/community/lksctp-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lksctp-tools/PKGBUILD')
-rw-r--r--community/lksctp-tools/PKGBUILD23
1 files changed, 17 insertions, 6 deletions
diff --git a/community/lksctp-tools/PKGBUILD b/community/lksctp-tools/PKGBUILD
index 7751723cb..8df17f34f 100644
--- a/community/lksctp-tools/PKGBUILD
+++ b/community/lksctp-tools/PKGBUILD
@@ -1,28 +1,39 @@
# $Id$
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributer: Nicolas Martyanoff <khaelin@gmail.com>
pkgname=lksctp-tools
-pkgver=1.0.11
+pkgver=1.0.13
pkgrel=1
pkgdesc='An implementation of the SCTP protocol'
arch=('i686' 'x86_64')
url='http://lksctp.sourceforge.net/'
-license=('GPL2')
+license=('GPL2' 'LGPL2.1')
depends=('bash')
options=('!libtool')
-source=("http://downloads.sourceforge.net/sourceforge/lksctp/$pkgname-$pkgver.tar.gz")
-md5sums=('e9cf6c57402c9d4f1173a9529466e16d')
+source=("http://downloads.sourceforge.net/sourceforge/lksctp/$pkgname-$pkgver.tar.gz"
+ '0001-Modernize-autotools.patch')
+md5sums=('96436a1b0d30ae588d0a13f6b646549a'
+ '84635abc83bcd85ef263160b6f435336')
build() {
cd $pkgname-$pkgver
+ # fix autotools
+ patch -p1 -i "$srcdir/0001-Modernize-autotools.patch"
+ ./bootstrap
./configure --prefix=/usr
make
}
+#check() {
+# cd $pkgname-$pkgver/src/func_tests
+# make v4test
+# make v6test
+#}
+
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
-# vim:set ts=2 sw=2 ft=sh et:
+# vim:set ts=2 sw=2 et: