xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-core/netbase/netbase_6.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Basic TCP/IP networking support"
2DESCRIPTION = "This package provides the necessary infrastructure for basic TCP/IP based networking"
3HOMEPAGE = "http://packages.debian.org/netbase"
4SECTION = "base"
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://debian/copyright;md5=3dd6192d306f582dee7687da3d8748ab"
7PE = "1"
8
9SRC_URI = "${DEBIAN_MIRROR}/main/n/${BPN}/${BPN}_${PV}.tar.xz"
10
11inherit allarch
12
13SRC_URI[sha256sum] = "7c42a6a1cafa0c64103c71cab6431fc8613179b2449a1a00e55e3584e860d81c"
14
15UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/n/netbase/"
16
17do_install () {
18	install -d ${D}${sysconfdir}
19	install -m 0644 ${S}/etc/rpc ${D}${sysconfdir}/rpc
20	install -m 0644 ${S}/etc/protocols ${D}${sysconfdir}/protocols
21	install -m 0644 ${S}/etc/services ${D}${sysconfdir}/services
22	install -m 0644 ${S}/etc/ethertypes ${D}${sysconfdir}/ethertypes
23}
24