summaryrefslogtreecommitdiff
path: root/community/lksctp-tools/PKGBUILD
blob: 8df17f34f57fbaa4d8fdbadda9e9d0b21e92ac61 (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')
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: