summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-03-31 09:26:36 +0000
committerSteven Barth <steven@midlink.org>2008-03-31 09:26:36 +0000
commiteaea62eea50477585f28a2478d86f7ce6434dc5d (patch)
treeec8e114a0d5cce7b28faf55cfb86d83d67ab2f17 /contrib/package
parentd79e1ec4c14f190e36b4b45151c08260d2ed5c75 (diff)
* Made contrib/package OpenWRT feed compatible
Diffstat (limited to 'contrib/package')
-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 4709767d1..4612735e3 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