luci-0.11: prepare feed Makefile

This commit is contained in:
Jo-Philipp Wich 2012-10-05 10:37:03 +00:00
parent c1d0ad1502
commit 7741541b8a

View file

@ -1,6 +1,6 @@
include $(TOPDIR)/rules.mk
PKG_BRANCH:=trunk
PKG_BRANCH:=branches/luci-0.11
ifeq ($(DUMP),)
USELOCAL:=$(shell grep luci ../../../.project 2>/dev/null >/dev/null && echo 1)
@ -12,12 +12,12 @@ PKG_RELEASE:=1
PKG_BUILD_PARALLEL:=0
ifeq ($(USELOCAL),1)
PKG_VERSION:=trunk+svn
PKG_VERSION:=0.11+svn
else
PKG_SOURCE_URL:=http://svn.luci.subsignal.org/luci/$(PKG_BRANCH)
ifeq ($(DUMP),)
PKG_REV:=$(shell LC_ALL=C svn info $(CURDIR) | sed -ne's/^Revision: //p')
PKG_VERSION:=trunk+svn$(PKG_REV)
PKG_VERSION:=0.11+svn$(PKG_REV)
endif
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz