From: Steven Barth Date: Mon, 31 Mar 2008 09:26:36 +0000 (+0000) Subject: * Made contrib/package OpenWRT feed compatible X-Git-Tag: 0.8.0~1178 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eaea62eea50477585f28a2478d86f7ce6434dc5d;p=oweals%2Fluci.git * Made contrib/package OpenWRT feed compatible --- 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