View difference between Paste ID: FmFRj7Ws and e3mga7dy
SHOW: | | - or go back to the newest paste.
1-
DESCRIPTION = "Web Admin GUI"
1+
    DESCRIPTION = "Web Admin GUI"
2-
LICENSE = "ENDPOINT"
2+
    LICENSE = "ENDPOINT"
3-
LIC_FILES_CHKSUM = "file://LICENSE;md5=5bfd4f72cf6fca09b3a4055a60dbecf7"
3+
    LIC_FILES_CHKSUM = "file://LICENSE;md5=5bfd4f72cf6fca09b3a4055a60dbecf7"
4-
PR = "r0"
4+
    PR = "r0"
5
     
6-
SRC_URI = "file://webroot/shieldbox-webadmin-0.1.zip"
6+
    SRC_URI = "http://some.machine/path/to/webadmin.zip;unpack=no;name=webadmin"
7
8
    SRC_URI[webadmin.md5sum] = "5817a115e7e101ed17f6659984671af7"
9-
do_install() {
9+
    SRC_URI[webadmin.sha256sum] = "3130aa21d3177aec1141e32b25149f589c061ce614b9bcaddc6add4bc964c079"
10-
     install -d ${D}${localstatedir}
10+
     
11-
     install -d ${D}${localstatedir}/box-webadmin
11+
     
12-
}
12+
    do_install() {
13
         install -d ${D}${localstatedir}
14-
pkg_postinst_PACKAGENAME () {
14+
         install -d ${D}${localstatedir}/box-webadmin
15-
     #!/bin/sh -e
15+
    }
16-
     if [ x"$D" = "x" ]; then
16+
     
17-
          # Actions to carry out on the device go here
17+
    pkg_postinst_PACKAGENAME () {
18
         #!/bin/sh -e
19-
     else
19+
         if [ x"$D" = "x" ]; then
20-
          exit 1
20+
              # Actions to carry out on the device go here
21-
     fi
21+
     
22-
}
22+
         else
23
              exit 1
24
         fi
25
    }