-
Notifications
You must be signed in to change notification settings - Fork 320
Home
Welcome to the wifidog-gateway wiki!
github tag can auto create a download link for anonymous users. like: https://github.com/wifidog/wifidog-gateway/archive/1.2.0.tar.gz
when you using "make package/net/wifidog/compile" to compile the package, openwrt sdk will auto download it and save it to openwrt_sdk/dl/1.2.0.tar.gz
, if another package's version is 1.2.0 too, it will conflicted.
So we need download the tag, it will be saved as wifidog-gateway-1.2.0.tar.gz
in your computer. Then upload it at the release page(click "Draft a new release" at https://github.com/wifidog/wifidog-gateway/releases).
docs: https://github.com/blog/1547-release-your-software
if you want compile result is wifidog_20150321-1.2.0_ralink.ipk
, the Makefile
of openwrt package should write like this:
include $(TOPDIR)/rules.mk
PKG_NAME:=wifidog
PKG_VERSION:=20150321
PKG_RELEASE:=$(PKG_SOURCE_VERSION)
PKG_MD5SUM:=af1835ef7cf392662460f15edce44359
PKG_SOURCE:=$(PKG_NAME)-gateway-$(PKG_RELEASE).tar.gz
PKG_SOURCE_URL:=https://github.com/wifidog/wifidog-gateway/releases/download/$(PKG_SOURCE_VERSION)/
PKG_SOURCE_VERSION:=1.2.0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-gateway-$(PKG_SOURCE_VERSION)
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
if you want compile result is wifidog_1.2.0-1_ralink.ipk
, the Makefile
of openwrt package should write like this:
include $(TOPDIR)/rules.mk
PKG_NAME:=wifidog
PKG_VERSION:=$(PKG_SOURCE_VERSION)
PKG_RELEASE:=1
PKG_MD5SUM:=af1835ef7cf392662460f15edce44359
PKG_SOURCE:=$(PKG_NAME)-gateway-$(PKG_RELEASE).tar.gz
PKG_SOURCE_URL:=https://github.com/wifidog/wifidog-gateway/releases/download/$(PKG_SOURCE_VERSION)/
PKG_SOURCE_VERSION:=1.2.0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-gateway-$(PKG_SOURCE_VERSION)
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk