Commit e8435b219fc0ec41a73d41098870165a1b9d57c3
- Diff rendering mode:
- inline
- side by side
targets/dss11/recipes/dss11-websetup/dss11-websetup_0.5.1.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] = "856ce0f7edd0fdc00024f85f00202f61" | ||
| 11 | SRC_URI[sha256sum] = "548f4a009cdf75274042ae10055409f9f9340f0ff96dd6c3fc8707467a593755" | ||
| 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/*" |

