xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/ipcalc/ipcalc_0.2.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Tool to assist in network address calculations for IPv4 and IPv6."
2HOMEPAGE = "https://github.com/nmav/ipcalc"
3
4SECTION = "net"
5
6LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8
9S = "${WORKDIR}/git"
10SRCREV = "c3ee70c878b9c5833a77a1f339f1ca4dc6f225c5"
11SRC_URI = "\
12    git://github.com/nmav/ipcalc.git;protocol=https;;branch=master \
13    file://0001-Makefile-pass-extra-linker-flags.patch \
14"
15
16export USE_GEOIP = "no"
17
18do_install() {
19    install -d ${D}/${bindir}
20    install -m 0755 ${S}/ipcalc ${D}/${bindir}
21}
22