summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ipcalc/ipcalc_0.2.2.bb
blob: b45642404c19c5016c3dd82b31535b224598c7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Tool to assist in network address calculations for IPv4 and IPv6."
HOMEPAGE = "https://github.com/nmav/ipcalc"

SECTION = "net"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

S = "${WORKDIR}/git"
SRCREV = "8348808a7869ca8f25a5b5deeaa418c2f6d52758"
SRC_URI = "\
    git://github.com/nmav/ipcalc.git;protocol=https; \
    file://0001-Makefile-pass-extra-linker-flags.patch \
"

export USE_GEOIP = "no"

do_install() {
    install -d ${D}/${bindir}
    install -m 0755 ${S}/ipcalc ${D}/${bindir}
}