Commit e8435b219fc0ec41a73d41098870165a1b9d57c3

  • avatar
  • Sergey 'Jin' Bostandzhyan <jin @deve…per.digitalstrom.org>
  • Fri Sep 03 02:19:10 CEST 2010
Added dss11 websetup 0.5.1 recipe
targets/dss11/recipes/dss11-websetup/dss11-websetup_0.5.1.bb
(26 / 0)
  
1# setup interface for the whole system
2DESCRIPTION = "dSS11 web setup UI"
3DEPENDS = "ruby-native rubygem-sprockets-native"
4RDEPENDS_${PN} = "lighttpd lighttpd-module-cgi haserl gettext tzdata ntpclient"
5LICENSE = "GPL"
6PR = "r0"
7
8SRC_URI = "http://developer.digitalstrom.org/releases/dss11-websetup-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "856ce0f7edd0fdc00024f85f00202f61"
11SRC_URI[sha256sum] = "548f4a009cdf75274042ae10055409f9f9340f0ff96dd6c3fc8707467a593755"
12
13inherit autotools
14
15# somehow I failed to get rid of the prefix...
16do_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
25PACKAGE_ARCH_${PN} = "all"
26FILES_${PN} = "/www/*"