summaryrefslogtreecommitdiff
path: root/package/olsrd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/olsrd/Makefile')
-rw-r--r--package/olsrd/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/package/olsrd/Makefile b/package/olsrd/Makefile
index 19a999d76..256cf925d 100644
--- a/package/olsrd/Makefile
+++ b/package/olsrd/Makefile
@@ -4,13 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= olsrd
-PKG_VERSION:= 0.5.6-r2
+PKG_VERSION:= 0.6.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= acf15dbd0af521a6826541b567c6473a
+PKG_MD5SUM:= 84e9295457cab50539f776118939b343
PKG_DESCR:= Optimized Link State Routing protocol
PKG_SECTION:= wifi
PKG_URL:= http://www.olsr.org/
-PKG_SITES:= http://www.olsr.org/releases/0.5/
+PKG_SITES:= http://www.olsr.org/releases/0.6/
PKG_MULTI:= 1
PKG_SUBPKGS:= OLSRD OLSRD_MOD_DYN_GW OLSRD_MOD_HTTPINFO OLSRD_MOD_NAMESERVICE
@@ -40,23 +40,13 @@ $(eval $(call PKG_mod_template,OLSRD_MOD_NAMESERVICE,nameservice))
$(eval $(call PKG_mod_template,OLSRD_MOD_TAS,tas))
CONFIG_STYLE:= manual
-BUILD_STYLE:= manual
-INSTALL_STYLE:= manual
TCFLAGS+= -fPIC
+ALL_TARGET+= libs
+INSTALL_TARGET+= install_libs
+MAKE_ENV+= OS="linux" NODEBUG=1 STRIP="true" OFLAGS="${TARGET_CFLAGS}"
-do-build:
- mkdir -p ${WRKINST}
- ${MAKE} -C "${WRKBUILD}" \
- ${TARGET_CONFIGURE_OPTS} \
- NODEBUG=1 \
- OFLAGS="${TARGET_CFLAGS}" \
- OS="linux" \
- DESTDIR="${WRKINST}" \
- STRIP="true" \
- all libs install install_libs
-
-do-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
+post-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
${INSTALL_DIR} ${IDIR_OLSRD}/usr/sbin ${IDIR_OLSRD}/etc
${INSTALL_DATA} ${WRKINST}/etc/olsrd.conf ${IDIR_OLSRD}/etc/
${INSTALL_BIN} ${WRKINST}/usr/sbin/olsrd ${IDIR_OLSRD}/usr/sbin/