blob: 051c901ab766e6e30a9fb90867db061ba57b9ecf (
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
40
41
42
43
44
45
46
47
|
# Maintainer: Filippo Berto <berto.f@protonmail.com>
_reponame=ndn-traffic-generator
_pkgname=ndn-traffic-generator
pkgname=${_pkgname}-git
pkgver=r50.7393cb4
pkgrel=4
# epoch=
pkgdesc="This tool is designed to generate Interest and Data traffic in an NDN network"
arch=('i686' 'x86_64')
url="https://github.com/named-data/${_reponame}"
license=('GPL')
groups=()
depends=('ndn-cxx' 'boost')
makedepends=('git' 'python')
checkdepends=()
optdepends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
replaces=()
backup=()
options=()
install=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/${_pkgname}"
git submodule update --init --recursive
./waf configure --prefix=/usr
}
build() {
cd "${srcdir}/${_pkgname}"
./waf build
}
package() {
cd "${srcdir}/${_pkgname}"
./waf install --destdir="${pkgdir}"
}
|