summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--contrib/package/ffluci/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/contrib/package/ffluci/Makefile b/contrib/package/ffluci/Makefile
index 4709767d16..4612735e39 100644
--- a/contrib/package/ffluci/Makefile
+++ b/contrib/package/ffluci/Makefile
@@ -1,12 +1,22 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ffluci
-PKG_VERSION:=0.2
+PKG_REV:=HEAD
+PKG_VERSION:=0.2+svn$(PKG_REV)
PKG_RELEASE:=1
+PKG_BRANCH:=trunk
+
+PKG_SOURCE_PROTO:=svn
+PKG_SOURCE_VERSION:=$(PKG_REV)
+PKG_SOURCE_URL:=https://dev.leipzig.freifunk.net/svn/ff-luci/$(PKG_BRANCH)
+PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+
+
MAKE_ACTION:=dist-source
include $(INCLUDE_DIR)/package.mk
@@ -19,11 +29,6 @@ define Package/ffluci
MAINTAINER:=Steven Barth <steven-at-midlink-dot-org>
endef
-define Build/Prepare
- mkdir -p $(PKG_BUILD_DIR)
- $(CP) ./src/* $(PKG_BUILD_DIR)/ -R
-endef
-
define Build/Configure
endef