diff options
| author | Li Xin <lixin.fnst@cn.fujitsu.com> | 2015-10-08 15:58:35 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-13 12:28:17 +0200 |
| commit | c09b65deccf20bbe4f94b5fe766c68996603199c (patch) | |
| tree | a21d5ab8be0ffe6a9135866b553fac7d3e62b090 /meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb | |
| parent | 91cfb371adaeb0f581fa87cd6e8165d264f1e0bc (diff) | |
| download | meta-openembedded-c09b65deccf20bbe4f94b5fe766c68996603199c.tar.gz | |
iptraf: add new recipe
IPTraf is a console-based network statistics utility for Linux.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb b/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb new file mode 100644 index 0000000000..7b8f0dbd64 --- /dev/null +++ b/meta-oe/recipes-devtools/iptraf/iptraf_3.0.0.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | DESCRIPTION = "IPTraf is a console-based network statistics utility for Linux. \ | ||
| 2 | It gathers a variety of figures such as TCP connection packet and byte counts, \ | ||
| 3 | interface statistics and activity indicators, TCP/UDP traffic breakdowns, \ | ||
| 4 | and LAN station packet and byte counts." | ||
| 5 | |||
| 6 | HOMEPAGE = "http://iptraf.seul.org" | ||
| 7 | |||
| 8 | LICENSE = "GPLv2" | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dc0bdc29df738baf327368b1bbb15a45" | ||
| 10 | |||
| 11 | DEPENDS = "ncurses" | ||
| 12 | |||
| 13 | SRC_URI = " \ | ||
| 14 | ftp://iptraf.seul.org/pub/iptraf/iptraf-3.0.0.tar.gz \ | ||
| 15 | file://0001-src-Fix-error-in-cross-compile.patch" | ||
| 16 | SRC_URI[md5sum] = "377371c28ee3c21a76f7024920649ea8" | ||
| 17 | SRC_URI[sha256sum] = "9ee433d95573d612539da4b452e6cdcbca6ab6674a88bfbf6eaf12d4902b5163" | ||
| 18 | RDEPENDS_${PN} = "ncurses" | ||
| 19 | |||
| 20 | do_compile() { | ||
| 21 | oe_runmake -C src all | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install() { | ||
| 25 | install -d ${D}${bindir} | ||
| 26 | oe_runmake -C src install \ | ||
| 27 | TARGET=${D}${bindir} \ | ||
| 28 | WORKDIR=${D}${localstatedir}/local/iptraf \ | ||
| 29 | LOGDIR=${D}${localstatedir}/log/iptraf \ | ||
| 30 | LOCKDIR=${D}${localstatedir}/run/iptraf | ||
| 31 | } | ||
| 32 | |||
| 33 | FILES_${PN} += "${bindir} ${localstatedir} /run" | ||
