[Buildroot] [PATCH] package: add knxweb
Grégory Hermant
gregory.hermant at calao-systems.com
Tue Nov 6 08:19:33 UTC 2012
Hi thomas,
Le 30/10/2012 13:55, Thomas Petazzoni a écrit :
> Dear Gregory Hermant,
>
> On Tue, 30 Oct 2012 13:24:03 +0100, Gregory Hermant wrote:
>> diff --git a/package/knxweb/knxweb.mk b/package/knxweb/knxweb.mk
>> new file mode 100644
>> index 0000000..5ca1760
>> --- /dev/null
>> +++ b/package/knxweb/knxweb.mk
>> @@ -0,0 +1,20 @@
>> +#############################################################
>> +#
>> +# knxweb
>> +#
>> +#############################################################
>> +
>> +KNXWEB_VERSION = 0.6.1
>> +KNXWEB_SOURCE = knxweb-$(KNXWEB_VERSION).tar.gz
>> +KNXWEB_SITE = http://sourceforge.net/projects/linknx/files/knxweb/knxweb-0.6.1/
>
> The tarball has no license information, this is quite annoying.
How can we manage this kind of package in buildroot ?
>
>> +define KNXWEB_INSTALL_TARGET_CMDS
>> + mkdir -p $(TARGET_DIR)/var/www
>> + cp -rdpf $(@D)/* $(TARGET_DIR)/var/www
>> +endef
>> +
>> +define KNXWEB__UNINSTALL_TARGET_CMDS
>> + rm -rf $(TARGET_DIR)/var/www/
>> +endef
>
> Double _ here, so this doesn't work.
>
> However, how does this web interface works? I see a few PHP scripts,
> but they don't seem to be essential for the operation of the Web
> interface. There's a lot of JS though. Does it communicate with the
> server somehow?
>
knxweb needs a web server with PHP support.
> I'm surprised that no interpreter like PHP, Lua or Python is needed
> here for the server side, that's why I'm asking.
>
> Thanks,
>
> Thomas
>
gregory
More information about the buildroot
mailing list