Commit d1a080d52d4d0823e761c4717db7f676e8d9605a
- Diff rendering mode:
- inline
- side by side
targets/dss11/recipes/dss11-websetup/dss11-websetup_0.5.0.bb
(26 / 0)
|   | |||
| 1 | # setup interface for the whole system | ||
| 2 | DESCRIPTION = "dSS11 web setup UI" | ||
| 3 | DEPENDS = "ruby-native rubygem-sprockets-native" | ||
| 4 | RDEPENDS_${PN} = "lighttpd lighttpd-module-cgi haserl gettext tzdata ntpclient" | ||
| 5 | LICENSE = "GPL" | ||
| 6 | PR = "r0" | ||
| 7 | |||
| 8 | SRC_URI = "http://developer.digitalstrom.org/releases/dss11-websetup-${PV}.tar.gz" | ||
| 9 | |||
| 10 | SRC_URI[md5sum] = "e9c06af23ab9cf7f238a06631256f49c" | ||
| 11 | SRC_URI[sha256sum] = "dea54040e88f015be18bc28b724dc07ab77e5ce4bdb11e47924220e1580f4545" | ||
| 12 | |||
| 13 | inherit autotools | ||
| 14 | |||
| 15 | # somehow I failed to get rid of the prefix... | ||
| 16 | do_install_append() { | ||
| 17 | install -d ${D}/www/ | ||
| 18 | mv ${D}/usr/share/dss11-websetup/www ${D}/www/pages | ||
| 19 | mv ${D}/usr/share/dss11-websetup/scripts ${D}/www/scripts | ||
| 20 | rm -rf ${D}/usr | ||
| 21 | |||
| 22 | sed -i s:LOCALEDIR=\"/usr/share/www/pages/locale\":LOCALEDIR=\"/www/pages/locale\":g ${D}/www/pages/cgi-bin/langdefs.sh | ||
| 23 | } | ||
| 24 | |||
| 25 | PACKAGE_ARCH_${PN} = "all" | ||
| 26 | FILES_${PN} = "/www/*" |

