996067d6b3
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=qolyester
|
|
PKG_VERSION:=20090302
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=http://qolsr.lri.fr/code/
|
|
PKG_MD5SUM:=650286fc2ea3e13c246d233aaa46f2a4
|
|
|
|
PKG_BUILD_DEPENDS:=libnotimpl
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/qolyester
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+libpthread @!TARGET_avr32 @!powerpc
|
|
TITLE:=OLSR implementation with QoS
|
|
URL:=http://qolsr.lri.fr/code/
|
|
endef
|
|
|
|
define Package/qolyester/description
|
|
This is an implementation from scratch of the OLSR protocol.
|
|
It is written in the C++ programming language and its goals
|
|
are modularity, efficiency and conformance to RFC 3626 (OLSR).
|
|
endef
|
|
|
|
# uses GNU configure
|
|
define Build/Compile
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
LIBS="-L$(STAGING_DIR)/usr/lib -lnotimpl" \
|
|
all install
|
|
endef
|
|
|
|
define Package/qolyester/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/qolsrd $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,qolyester))
|