summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b18877cbf4d594ea798588e9cfafbe8ef81c9d9 (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
# Maintainer: Lucien LOISEAU (Marlinski) <marlinski@disruptedsystems.org>

pkgname=ibrdtn
pkgver=1.0.0
pkgrel=1
pkgdesc='IBR-DTN - A modular and lightweight implementation of the bundle protocol - ibrdtn library'
arch=('i686' 'x86_64')
url='https://github.com/ibrdtn/ibrdtn'
license=('Apache License 2.0')
depends=(ibrcommon libcurl-compat libcurl-gnutls libnl zlib)
makedepends=(git binutils gcc libtool cppunit automake autoconf pkgconf)
provides=(ibrdtn)

source=(git://github.com/ibrdtn/ibrdtn.git)
sha512sums=('SKIP')

prepare() {
    cd ${pkgname}
}

build() {
    cd ${pkgname}
    CXXFLAGS=""
    cd ibrdtn/ibrdtn
    [ -f Makefile ] && make clean
    bash autogen.sh
    ./configure --prefix=/usr --with-compression
    make -j
}

package() {
    cd ${pkgname}/ibrdtn/ibrdtn
    make DESTDIR="$pkgdir" install
}