-
Notifications
You must be signed in to change notification settings - Fork 7
/
build-alfred.sh
executable file
·45 lines (42 loc) · 1.03 KB
/
build-alfred.sh
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
#!/bin/bash -e
#
# Copyright 2017 (c) Yousong Zhou
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# https://www.open-mesh.org/projects/alfred/wiki
# https://downloads.open-mesh.org/batman/manpages/alfred.8.html
# https://git.open-mesh.org/alfred.git/blob_plain/refs/heads/master:/README
#
# Examples
#
# sudo ./alfred -i eth1 -b none -m
# echo hello | sudo ./alfred -s 1001
# sudo ./alfred -r 1001
#
# alfred uses ipv6 link-local multicast by default
#
PKG_NAME=alfred
PKG_VERSION=v2017.0
PKG_SOURCE_PROTO=git
PKG_SOURCE_VERSION=b8a8df5408c1052752ca3d72214482791fa681f6
PKG_SOURCE_URL=https://git.open-mesh.org/alfred.git
PKG_DEPENDS='libnl3'
. "$PWD/env.sh"
configure() {
true
}
# Refer to README file in the source code for details about how to install and
# how to use
#
# - batadv-vis
# - alfred-gpsd, requires libgps
# - to drop unneeded capability requires libcap
#
MAKE_VARS+=(
PREFIX=$INSTALL_PREFIX
CONFIG_ALFRED_CAPABILITIES=n
CONFIG_ALFRED_GPSD=n
CONFIG_ALFRED_VIS=y
)