[OpenWrt-Devel] [PATCH 1/2] Add package django-sslserver

philby john philbyjohn at gmail.com
Sat Oct 10 10:36:55 EDT 2015


> +
> +define Package/django-sslserver/description
> + Django SSL Server ships "batteries included" with a self-signed
> server certificate.


Sorry! Patch mangled. Resending.

~Philby


> +endef
> +
> +define Build/Compile
> +    $(call Build/Compile/PyMod,., \
> +        install --prefix="/usr" --root="$(PKG_INSTALL_DIR)" \
> +    )
> +endef
> +
> +define Package/django-sslserver/install
> +    $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
> +    $(CP) \
> +        $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
> +        $(1)$(PYTHON_PKG_DIR)/
> +endef
> +
> +$(eval $(call BuildPackage,django-sslserver))
> --
> 1.8.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list