blob: 921795b00a3b21b8d5b3978d5991b29a785b8800 [file] [log] [blame]
William A. Kennington III1e268102021-03-08 13:00:12 -08001SUMMARY = "Shell functions for manipulating network addresses"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
Willy Tu4dd03ca2021-08-06 09:37:35 -07006FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
William A. Kennington III1e268102021-03-08 13:00:12 -08007SRC_URI += "file://lib.sh"
8SRC_URI += "file://test.sh"
9S = "${WORKDIR}"
10
11DATA = "${datadir}/network"
Willy Tu4dd03ca2021-08-06 09:37:35 -070012FILES:${PN} += "${DATA}"
William A. Kennington III1e268102021-03-08 13:00:12 -080013
14DEPENDS += "test-sh"
15
16do_compile() {
17 SYSROOT="$PKG_CONFIG_SYSROOT_DIR" bash test.sh || exit
18}
19
Willy Tu4dd03ca2021-08-06 09:37:35 -070020do_install:append() {
William A. Kennington III1e268102021-03-08 13:00:12 -080021 install -d -m0755 ${D}${DATA}
22 install -m0644 lib.sh ${D}${DATA}/
23}