Move package back into subdir or it will appear as openwrt, add README
authorJo-Philipp Wich <xm@subsignal.org>
Sun, 5 Dec 2010 22:18:32 +0000 (23:18 +0100)
committerJo-Philipp Wich <xm@subsignal.org>
Sun, 5 Dec 2010 22:18:32 +0000 (23:18 +0100)
openwrt/README [new file with mode: 0644]
openwrt/olsrd-git/Makefile [moved from openwrt/Makefile with 98% similarity]
openwrt/olsrd-git/files/olsrd.config [moved from openwrt/files/olsrd.config with 100% similarity]
openwrt/olsrd-git/files/olsrd.init [moved from openwrt/files/olsrd.init with 100% similarity]
openwrt/olsrd-git/files/olsrd_secure_key [moved from openwrt/files/olsrd_secure_key with 100% similarity]

diff --git a/openwrt/README b/openwrt/README
new file mode 100644 (file)
index 0000000..280ca9a
--- /dev/null
@@ -0,0 +1,17 @@
+This is an OpenWrt package feed containing the olsrd-git package.
+
+To use this package, add the following line to the feeds.conf
+in the OpenWrt buildroot:
+
+  src-git olsrd http://olsr.org/git/olsrd.git
+  
+Update the feed:
+
+  ./scripts/feeds update olsrd
+  
+Activate the package:
+
+  ./scripts/feeds install olsrd-git
+  
+The "olsrd-git" package should now appear in menuconfig.
+
similarity index 98%
rename from openwrt/Makefile
rename to openwrt/olsrd-git/Makefile
index 0670a0c..7146b36 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=olsrd-git
-PKG_VERSION:=$(shell date +%Y%m%d)+$(shell git --git-dir=$(CURDIR)/../.git log -1 --pretty=%h)
+PKG_VERSION:=$(shell date +%Y%m%d)+$(shell git --git-dir=$(CURDIR)/../../.git log -1 --pretty=%h)
 PKG_RELEASE:=1
 
 PKG_BUILD_PARALLEL:=1
@@ -20,7 +20,7 @@ TARGET_CFLAGS += $(FPIC)
 
 define Build/Prepare
        mkdir -p $(PKG_BUILD_DIR)
-       $(CP) $(CURDIR)/../* $(PKG_BUILD_DIR)/
+       $(CP) $(CURDIR)/../../* $(PKG_BUILD_DIR)/
 endef
 
 define Package/olsrd-git/template