From 05d0076d97ed69a531df1aa5cde3a1e6ed17f922 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Tue, 14 Sep 2010 19:04:46 +0200
Subject: replace mksh scripts with faster C programs

depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced
by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes,
so that a package is rebuild.

Generation of meta-data is a lot faster now.

Fix or add new PKG variables to fulfill the needs of the new programs.
Documentation will follow as soon as it is stable.
---
 package/olsrd/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'package/olsrd')

diff --git a/package/olsrd/Makefile b/package/olsrd/Makefile
index 566a30f19..19a999d76 100644
--- a/package/olsrd/Makefile
+++ b/package/olsrd/Makefile
@@ -9,9 +9,12 @@ PKG_RELEASE:=		1
 PKG_MD5SUM:=		acf15dbd0af521a6826541b567c6473a
 PKG_DESCR:=		Optimized Link State Routing protocol
 PKG_SECTION:=		wifi
-PKG_MULTI:=		1
-PKG_URL:=		http://www.olsr.org
+PKG_URL:=		http://www.olsr.org/
 PKG_SITES:=		http://www.olsr.org/releases/0.5/
+PKG_MULTI:=		1
+
+PKG_SUBPKGS:=		OLSRD OLSRD_MOD_DYN_GW OLSRD_MOD_HTTPINFO OLSRD_MOD_NAMESERVICE
+PKG_SUBPKGS+=		OLSRD_MOD_TAS
 
 include ${TOPDIR}/mk/package.mk
 
@@ -40,10 +43,9 @@ CONFIG_STYLE:=          manual
 BUILD_STYLE:=           manual
 INSTALL_STYLE:=         manual
 
-TCFLAGS+=	-fPIC
+TCFLAGS+=		-fPIC
 
 do-build:
-	rm -rf ${WRKINST}
 	mkdir -p ${WRKINST}
 	${MAKE} -C "${WRKBUILD}" \
 		${TARGET_CONFIGURE_OPTS} \
-- 
cgit v1.2.3