summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 793fcecd9a6f9f47ba9aaa9347ec28df878e3bcf (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=ibrcommon
pkgver=1.0.0
pkgrel=1
pkgdesc='IBR-DTN - A modular and lightweight implementation of the bundle protocol - Common libraries'
arch=('i686' 'x86_64')
url='https://github.com/ibrdtn/ibrdtn'
license=('Apache License 2.0')
depends=(libcurl-compat libcurl-gnutls libnl)
makedepends=(git binutils gcc libtool cppunit automake autoconf pkgconf)
provides=(ibrcommon)

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

prepare() {
    cd ibrdtn
}

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

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