blob: 8c4875a7a8c05084cbd2b27182727d6e745d0e4e (
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-tools
_pkgname=ndn-tools
pkgname=${_pkgname}-git
pkgver=ndn.tools.0.7.r16.g9a1b65d
pkgrel=1
# epoch=
pkgdesc="A collection of basic tools for Named Data Networking"
arch=('i686' 'x86_64')
url="https://github.com/named-data/${_pkgname}"
license=('GPL')
groups=()
depends=('ndn-cxx' 'boost' 'libpcap')
makedepends=('git' 'python')
checkdepends=()
optdepends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
replaces=()
backup=()
options=()
install=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "${srcdir}/${_reponame}"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${_reponame}"
git submodule update --init --recursive
./waf configure --prefix=/usr
}
build() {
cd "${srcdir}/${_reponame}"
./waf build
}
package() {
cd "${srcdir}/${_reponame}"
./waf install --destdir="${pkgdir}"
}
|