* Made contrib/package OpenWRT feed compatible
authorSteven Barth <steven@midlink.org>
Mon, 31 Mar 2008 09:26:36 +0000 (09:26 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 31 Mar 2008 09:26:36 +0000 (09:26 +0000)
contrib/package/ffluci/Makefile

index 4709767d16809f7aa1a13304ba936f3f6ba7c8c3..4612735e395b275fac2d0071b01f320b6c2baf10 100644 (file)
@@ -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