From eaea62eea50477585f28a2478d86f7ce6434dc5d Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 31 Mar 2008 09:26:36 +0000 Subject: [PATCH] * Made contrib/package OpenWRT feed compatible --- contrib/package/ffluci/Makefile | 17 +++++++++++------ 1 file 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 endef -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) - $(CP) ./src/* $(PKG_BUILD_DIR)/ -R -endef - define Build/Configure endef -- 2.25.1