anchor.diff:  
   do_install () {
           oe_runmake install INSTALL_ROOT="${D}"
  -}
  -
  -do_install_mythweb_apache () {
  -        oe_runmake install INSTALL_ROOT="${D}"
  +	rm -rf `find ${S}/mythweb -type d -name .svn`
  +        install -d  ${D}${datadir}/
           install -d  ${D}${datadir}/apache2
           install -d  ${D}${datadir}/apache2/htdocs
  -        install -d  ${D}/etc/apache2
  -        install -d  ${D}/etc/apache2/extra
  -        cp -r ${S}/mythweb/* ${D}${datadir}/apache2/htdocs/
  -        cp -r ${S}/mythweb/mythweb.conf.apache ${D}/etc/apache2/extra/mythweb.conf
  -        sed -i -e s:/var/www/html:/usr/share/apache2/htdocs:g ${D}/etc/apache2/extra/mythweb.conf
  -}
  -
  -do_install_mythweb_lighttpd () {
  -        oe_runmake install INSTALL_ROOT="${D}"
  +        install -d  ${D}${sysconfdir}/
  +        install -d  ${D}${sysconfdir}/apache2
  +        install -d  ${D}${sysconfdir}/apache2/extra
  +        cp -r ${S}/mythweb/* ${D}/${datadir}/apache2/htdocs/
  +        mv ${S}/mythweb/mythweb.conf.apache ${D}${sysconfdir}/apache2/extra/mythweb.conf
  +        sed -i -e s:/var/www/html:/usr/share/apache2/htdocs:g ${D}${sysconfdir}/apache2/extra/mythweb.conf
           install -d  ${D}/www
           install -d  ${D}/www/pages
  -        cp -r ${S}/mythweb/* ${D}www/pages/
  -        cp -r ${S}/mythweb/mythweb.conf.lighttpd ${D}/etc/mythweb.conf
  -        sed -i -e s:/var/www/html:/www/pages:g ${D}/etc/mythweb.conf
  +        cp -r ${S}/mythweb/* ${D}/www/pages/
  +        mv ${S}/mythweb/mythweb.conf.lighttpd ${D}${sysconfdir}/mythweb.conf
  +        sed -i -e s:/var/www/html:/www/pages:g ${D}${sysconfdir}/mythweb.conf
   }
   
  -pkg_postinst_mythweb_apache () {
  +pkg_postinst_mythweb-apache () {
           chgrp -R apache /usr/share/apache2/htdocs/data
           chmod g+rw /usr/share/apache2/htdocs/data
           grep mythweb.conf /etc/apache2/httpd.conf || \
                 echo "Include /etc/apache2/extra/mythweb.conf" >>/etc/apache2/httpd.conf
   }
   
  -pkg_postinst_mythweb_lighttpd () {
  -        chgrp -R www-data /usr/share/apache2/htdocs/data
  +pkg_postinst_mythweb-lighttpd () {
  +        chgrp -R www-data /var/www/pages
           chmod g+rw /var/www/pages
           grep mythweb.conf /etc/lighttpd.conf || \
                   echo "Include /etc/mythweb.conf" >>/etc/lighttpd.conf
   }
   
   PACKAGES =+ " \
  -        mythweb_apache mythweb_lighttpd \
  +        mythweb-apache mythweb-lighttpd \
           mytharchive mytharchive-dbg \
           mythbrowser mythbrowser-dbg \
           mythgallery mythgallery-dbg \
  
positive.code: RDEPENDS_mythweather += " libxml-xpath-perl libxml-simple-perl libdatetime-format-iso8601-perl \
  	libsoap-lite-perl libimage-size-perl libdate-manip-perl "
  
  PR = "svnr${SRCPV}+r2"
  PV = "0.23"
  
  SRCREV = "25609"
  
negative.code: DEPENDS = "flac taglib mythtv libvorbis libexif libvisual libsdl-x11 libcdaudio cdparanoia"
  RDEPENDS_${PN} = "mytharchive mythbrowser mythgallery mythgame mythmovies  \
                    mythmusic mythnetvision mythnews mythvideo mythweather mythzoneminder"
  RRECOMMENDS_${PN} = "mythweb-lighttpd"
  
  # the apache variant does not work yet, too many issues with apache+php+mysql"
  DEPENDS_mythweb-apache = "mythweb"
  RDEPENDS_mythweb-apache = "apache2"
  
  DEPENDS_mythweb-lighttpd = "mythweb"
  RDEPENDS_mythweb-lighttpd = "lighttpd lighttpd-module-cgi lighttpd-module-fastcgi \
          lighttpd-module-rewrite php-cgi lighttpd-module-auth"
  
  RDEPENDS_mythnetvision += " python python-mysqldb "
  