blob: a377b9e2ab244f1f637c962dbdaeab3c4b732dab [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
6FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
7SRC_URI += "file://lib.sh"
8SRC_URI += "file://test.sh"
9S = "${WORKDIR}"
10
11DATA = "${datadir}/network"
12FILES_${PN} += "${DATA}"
13
14DEPENDS += "test-sh"
15
16do_compile() {
17 SYSROOT="$PKG_CONFIG_SYSROOT_DIR" bash test.sh || exit
18}
19
20do_install_append() {
21 install -d -m0755 ${D}${DATA}
22 install -m0644 lib.sh ${D}${DATA}/
23}