summaryrefslogtreecommitdiff
path: root/community/lksctp-tools/PKGBUILD
blob: 9ac4b38d34848af1f82af06f24a33fcc089072d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id$
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
# Contributer: Nicolas Martyanoff <khaelin@gmail.com>

pkgname=lksctp-tools
pkgver=1.0.13
pkgrel=1
pkgdesc='An implementation of the SCTP protocol'
arch=('i686' 'x86_64' 'mips64el')
url='http://lksctp.sourceforge.net/'
license=('GPL2' 'LGPL2.1')
depends=('bash')
options=('!libtool')
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 et: