blob: b1144f6e9ec356b61ab34741c1f1ab4f2e061ebb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
DESCRIPTION = "USB Networking"
HOMEPAGE = "http://dev.openbossa.org/trac/mamona/"
SECTION = "utils"
LICENSE = "GPL"
RDEPENDS = "module-init-tools busybox"
FILE_PR = "r1"
PACKAGES = "${PN}"
SRC_URI = "file://usbnet \
file://default/usbnet \
file://interfaces.usbnet"
inherit update-rc.d
INITSCRIPT_NAME = "usbnet"
INITSCRIPT_PARAMS = "defaults"
# Skipping...
do_configure () {
}
# Skipping...
do_stage () {
}
# Skipping...
do_compile () {
}
do_install () {
install -d ${D}${sysconfdir}/init.d
install -d ${D}${sysconfdir}/default
install -d ${D}${sysconfdir}/network
install -m 0755 ${WORKDIR}/usbnet ${D}${sysconfdir}/init.d
install -m 0644 ${WORKDIR}/default/usbnet ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/interfaces.usbnet ${D}${sysconfdir}/network
}
|