[luci] How to include new application in build.

Loren Stafford lstafford at ubicom.com
Thu Sep 3 04:00:53 CEST 2009


Thank you, Cyrus,

I studied that last section, did what it said, and my application still
is not being built. And I still do not see where I should specify to the
build that I want it to build my ipsecvpn app. Also, I do not see what
the DEPENDS line really does. Can you clarify?

define Package/luci-app-ipsecvpn
  $(call Package/luci/webtemplate)
  TITLE:=LuCI Support for IPsec PSK
  DEPENDS+=+luci-admin-full
endef

define Package/luci-app-ipsecvpn/install
        $(call
Package/luci/install/template,$(1),applications/luci-ipsecvpn)
endef

ifneq ($(CONFIG_PACKAGE_luci-app-ipsecvpn),)
       PKG_SELECTED_MODULES+=applications/luci-ipsecvpn
endif

$(eval $(call BuildPackage,luci-app-ipsecvpn))


-- Loren 

 

-----Original Message-----
From: luci-bounces at lists.subsignal.org
[mailto:luci-bounces at lists.subsignal.org] On Behalf Of Steven Barth
Sent: Wednesday, September 02, 2009 14:27
To: luci at lists.subsignal.org
Subject: Re: [luci] How to include new application in build.

Please have a look at the following reference page:
http://luci.freifunk-halle.net/Documentation/Modules

Espsecially the last paragraph should be of interest for you-


Regards
Cyrus
_______________________________________________
luci mailing list
luci at lists.subsignal.org
https://lists.subsignal.org/mailman/listinfo/luci


More information about the luci mailing list